-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Migrated from 0.14.9: Auto-seeking to the latest segment on playback doesn't work anymore #5678
Comments
One way to clear the back buffer as live streams updates is to set Another solution would be to listen for |
Thanks for quick reply, @robwalch ! So can I say it doesn't move to live edge automatically without the code like this? |
In v1, The change was introduced with this PR: Based on live sync cleanup made here: With issues and discussion covered in these issues to name a few:
This is an acceptable solution. The same that would be required if you wanted the same behavior playing HLS natively in Safari, which was the motivation for the change.
Yes. This change was made intentionally. There was no effort to maintain the old behavior as it better achieves with the HTMLMediaElement API outside of HLS.js. |
Thank you for details again. Now I understand how it went thru all. I'll close this. :) |
What do you want to do with Hls.js?
I used 0.14.9 before and now migrating to 1.4.x.
When using version 0.14.9, if playback was initiated after a few minutes of loading, it automatically jumped to the latest segment and started playing. However, in the current version, playback starts from the paused segment even after 10 minutes of loading.
The config parameters are still provided in the same way. With the version upgrade, is there a specific config parameter that needs to be manually set to enable this feature(auto-seeking)?
What have you tried so far?
I tried
liveMaxLatencyDuration
, but it periodically seeks based on the amount of loaded segments, regardless of user action. This is different from seeking to a specific segment only after playback that I intend.The text was updated successfully, but these errors were encountered: