-
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
Backward-seeking frame in video get stuck #5499
Comments
Confirmed. When seeking to the start of a buffered segment where video has been buffered, but audio starts after the playhead, the gap-controller detects "start gap" conditions because the combined buffer is empty at the playhead, so it seeks forward. |
Hey @robwalch thank you very much for this! There was an issue with our environment, so it took a little longer... I tried to look for some |
What version of Hls.js are you using?
v1.4.3
What browser (including version) are you using?
Chrome Version 113.0.5672.92 (Official Build) (64-bit)
What OS (including version) are you using?
Ubuntu 20
Test stream
https://5be196f4-a905-4a83-a0d4-e04cf2e9fe9f.s3.eu-central-1.amazonaws.com/test-two/channel-a_adaptive.m3u8
Configuration
Additional player setup steps
No response
Checklist
Steps to reproduce
As suggested in #4956 (comment)
I am opening a separate issue.
Currently, we are using in PROD your previous suggestion
We are using hls.js in combination with
ngx-videogular
for live-streaming and playing videos.We are using Ant Media for producing streams.
The easiest thing for us was to stream test Bunny stream through Ant Media (to avoid copyrights)
https://5be196f4-a905-4a83-a0d4-e04cf2e9fe9f.s3.eu-central-1.amazonaws.com/test-two/channel-a_adaptive.m3u8
[1] Go to https://hls-js.netlify.app/demo
[2] Use
as suggested by #4956
[3] seek somewhere in the middle and pause the video
[4] add function in the console
[5] keep calling till you reach to
[warn] > skipping hole, adjusting currentTime from 459.988593 to 460.088593
Observations:
This issue only happens when we are producing adaptive bitrate
Let me know if I can help with more details.
Thank you, Rob!
Expected behaviour
We should be able to do back frame seeking and not hit the wall.
What actually happened?
It hits the wall and can't seek anymore
Console output
It's easily reproducible with a test stream on https://hlsjs.video-dev.org/demo
Chrome media internals output
No response
The text was updated successfully, but these errors were encountered: