-
Notifications
You must be signed in to change notification settings - Fork 103
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
Download limit support #185
Comments
Can you describe better the issue? It was not happening with the previous versions and started with 3.5.8? Is it a live rtsp stream? |
It is not a issue rather than a feature. Yes it is a live rtsp stream but can set speed of it. |
For the downloader there is no point to set the speed as it will try to download it as fast as possible. I guess you mean the to set a download limit (KB/s)? Or you mean to set the speed slower for the playback (because faster it doesn't really make sense on live steam)? |
Yes, limit download speed. |
@swimfish09 You can implement this at the application level. I'm not sure if it should be in the library. You could have many downloaders and set the limit based on all instead of each of them. You can do this by checking the demuxer's TotalBytes each second (sum all downloaders bytes) and if you pass the limit you pause them. Let me know what you think. |
ok, i aleady have tried with it. |
Yes |
Now downloader will download rtsp playback stream with 1x speed.
The text was updated successfully, but these errors were encountered: