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
set currentLevel or startLevel can trigger fragLoopLoadingError #420
Comments
The problem is especially prominent in Firefox, but I can also repro in Chrome. |
Setting currentLevel or startLevel can trigger fragLoopLoading errors. See: https://github.com/dailymotion/hls.js/issues/420
Setting currentLevel or startLevel can trigger fragLoopLoading errors. See: https://github.com/dailymotion/hls.js/issues/420
Hi @blacktrash regarding
when you switch level on video ended, it will reload last video fragment with new quality level. |
Here's a log from http://flowplayer.blacktrash.org/fp6/playlist.html
Hm, where's the baseline avc1 coming from here, what was parsed:
|
Here's a demo without Flowplayer: http://flowplayer.blacktrash.org/fp6/hlsjs-pure.html - it sets |
It's somewhat hard to repro because once the fragments are cached, it doesn't happen anymore. And purging cache reliably is such a pain. - But I can definitely repro after v0.5.25 (where this does not happen). |
I was not able to reproduce it but I understand what is going on. since this commit, |
but dailymotion@ffb6ec6 is still useful for some scenarios ... we need to find a way to address both:
|
I see. Strictly speaking a hole before a first fragment isn't an _inter_fragment hole ;-) |
Well in fact [0,0.033] should be treated as interfrag hole.... it was the case before this commit. |
Basically the start offset of the playlist ( frag[0].start.... 0 for VoD) should be treated as special case. |
FYI I just reverted dailymotion@ffb6ec6 as it is more critical to avoid fraglooploading and playback stall |
@mangui - thanks. |
To reproduce: http://dailymotion.github.io/hls.js/demo/?src=http%3A%2F%2Fstream.flowplayer.org%2Fnight2.m3u8&enableStreaming=true&autoRecoverError=false&enableWorker=true&levelCapping=-1&defaultAudioCodec=undefined
This did not happen in v0.5.25 - did not test v0.5.26 extensively because it was soon overridden by v0.5.27 where the issue is present.
Flowplayer plugin demo using v0.5.29: http://flowplayer.blacktrash.org/fp6/playlist.html
Same playlist using v0.5.25: http://demos.flowplayer.org/playlist/prev-next-overlayed.html
Pick a high quality manually and switch between clips.
I wonder whether there's a problem with streams containing b-frames (not allowed in baseline profile).
The text was updated successfully, but these errors were encountered: