Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Unthrottle downloads by responding to the "n" parameter challenge #19

Closed
Deivu opened this issue Dec 23, 2021 · 7 comments
Closed

Comments

@Deivu
Copy link

Deivu commented Dec 23, 2021

I think lp didn't implement this yet, and I started to have this issue for some time now

Issue: ytdl-org/youtube-dl#29326 (comment)
Relevant PR: ytdl-org/youtube-dl#30184

@Walkyst
Copy link
Owner

Walkyst commented Dec 23, 2021

LP don't download anything it just streaming audio, also we use currently ANDROID client and im pretty sure it not affected by throttling, since it providing deciphired links with all provided arguments for just playback audio

@duncte123
Copy link
Contributor

Technically it is downloading the song but to memory. Seeing as a download is nothing more than streaming the contents to a file on the disk.

@Deivu
Copy link
Author

Deivu commented Dec 24, 2021

This is the song in question that buffers on my side:
https://www.youtube.com/watch?v=CtNK1qV9WoE

I verified the same doesn't happen on other songs. eg:
https://www.youtube.com/watch?v=v5v0tUGlwYY

The reason why I think this is happening is because probably the speed is throttled

@Walkyst
Copy link
Owner

Walkyst commented Dec 24, 2021

You try play this song on your home PC or on hosting?
Also how does it manifest, because I'm not experienced this issue at all

@Deivu
Copy link
Author

Deivu commented Dec 24, 2021

You try play this song on your home PC or on hosting? Also how does it manifest, because I'm not experienced this issue at all

The n parameter challenge is random based on what I see on the issues there. This is tested on prod server with a gigabit connection so bandwidth is rarely an issue.

@Walkyst
Copy link
Owner

Walkyst commented Dec 25, 2021

Official YouTube app on android don't use any n parameters in videoplayback links, so I do not think that Google would like to limit Internet speed in its own application

@Walkyst Walkyst closed this as completed Dec 28, 2021
@Walkyst
Copy link
Owner

Walkyst commented Feb 22, 2022

Will be added in 1.3.98

@Walkyst Walkyst reopened this Feb 22, 2022
@Walkyst Walkyst closed this as completed Jun 29, 2022
mxscowc1ty pushed a commit to MoscowMusic/lavaplayer-fork that referenced this issue Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants