-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Playback stalls in case of strong bandwidth fluctuations #6689
Comments
Please provide more detailed reproduction steps and console logs. We need to know when the network throttled and what was retrieved or inflight prior to that. From the looks of the logs there was a level and audio track change prior to the stall but neither completed loading so it would be impossible to load media segments from either variant or audio media option. |
@robwalch : Just dropped the Log in the Description. You can reproduce by Setting the network throtteling to Regular 3G |
@robwalch : Did you got a change to have a look? |
It's trying to switch down. The playlist never loads. It stalls. Regardless of which level it tries to switch to, if the playlist never loads, it will stall. |
@robwalch Can you confirm now this is a bug? |
Aborting the current chunk makes little difference. It is arguably worse. You can see the difference by running the same test with v1.4.13 which aborts the inflight frag on emergency switch down: Make sure to disable "Stop on first stall" when running these tests if you want to compare recovery. Add a callback to
It's working as designed, but we can use this as a test case to enhance emergency switch down behavior when playlist loading is delayed by unknown factors like head-of-line blocking (which it seams Firefox's network throttling "simulates" 🐛). |
…-flight frag Resolves video-dev#6689
What version of Hls.js are you using?
1.5.14
What browser (including version) are you using?
Fireefox 130.0 (64-bit)
What OS (including version) are you using?
MacOS
Test stream
https://hlsjs.video-dev.org/demo/?src=https%3A%2F%2Fsdn-global-live-streaming-packager-cache.3qsdn.com%2F65181%2F65181_264_live.m3u8&demoConfig=eyJlbmFibGVTdHJlYW1pbmciOnRydWUsImF1dG9SZWNvdmVyRXJyb3IiOnRydWUsInN0b3BPblN0YWxsIjp0cnVlLCJkdW1wZk1QNCI6ZmFsc2UsImxldmVsQ2FwcGluZyI6LTEsImxpbWl0TWV0cmljcyI6LTF9
Configuration
Additional player setup steps
No response
Checklist
Steps to reproduce
Expected behaviour
Player should abort loading the current chunk, instead its waiting more than 25 secs to get the chunk loaded. I think the player should abort the loading in some seconds and starts then loading a chunk from a smaller resolution.
What actually happened?
Playback stalls
Console output
Chrome media internals output
No response
The text was updated successfully, but these errors were encountered: