-
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
AV1 change level freeze image until next segment #6355
Comments
It works in Firefox wow o.0 |
Can you provide more details regarding "flush out the current frame for the new quality"? Please provide precise steps to reproduce. If you remove the video buffer at the playhead, video playback will appear frozen until it reaches the next key frame after appending over the playhead. |
Sorry i meant this one: Instant switching (immediate quality switch at current video position) |
To avoid dropped frames perform a smooth switch. Chrome does not render frames that are dependent on a keyframe appended earlier than the playhead. This is a browser issue. HLS.js is not responsible for decoding and rendering the media appended to the video SourceBuffer. |
Note that as a workaround you can perform a tiny seek following the buffer appended event. |
This is related to #3596. There is some work to report these late appends with partial or under-reported dropped frames. As part of that work we could add the option to perform a nudge (tiny seek) to render video following the append. |
I would love if you could implement this 👍 |
Using it with hls-level-switching works even better just like i would expect thank you very much |
I use this to workaround:
|
What version of Hls.js are you using?
v1.5.8
What browser (including version) are you using?
newest Chrome, newest Microsoft Edge
What OS (including version) are you using?
Windows 11
Test stream
No response
Configuration
Additional player setup steps
No response
Checklist
Steps to reproduce
Expected behaviour
Switch level and flush out the current frame for the new quality
What actually happened?
Audio goes without a change but the video freezes to the next segment and when the next segment arrives it continues playing.
Console output
Chrome media internals output
No response
The text was updated successfully, but these errors were encountered: