Skip to content
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

add setting to change mediasource duration from infinity to math.pow(2, 32) #4274

Conversation

bwallberg
Copy link
Contributor

As discussed on slack https://dashif.slack.com/archives/C11R69M96/p1693394978870319

On WebOS 4.x ( Chrome 53 ) seeking in live content is currently broken because when duration is Infinity seeking back in time causes the seekable end time to move to the seek point so once you’ve seeked back in time you can never go to live again.
The solution is to set the duration of the MediaSource to something high so that you’re not blocked from appending segments eg. Math.pow(2, 32); eg. like shaka https://github.com/shaka-project/shaka-player/blob/main/lib/media/streaming_engine.js#L922

@dsilhavy dsilhavy added this to the 4.7.2 milestone Sep 5, 2023
@dsilhavy dsilhavy self-requested a review September 5, 2023 06:20
src/core/Settings.js Outdated Show resolved Hide resolved
src/core/Settings.js Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants