-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
v4: dynamic to static broken #3629
Comments
The commit fixes the issue for starting playback. |
@bbert I tried to reproduce this but it worked for me so far with:
Note that with the current nightly version we have a problem with the Unified teststream. dash.js uses the settings defined in the ServiceDescription element. However, there are no segments defined in the MPD that fulfill the max latency target. Consequently, dash.js keeps seeking to the live edge and stalls. |
I think that the problem may be here: dash.js/src/dash/DashHandler.js Lines 212 to 213 in b5f408b
Just like @bbert mentioned - when the manifest changes from dynamic to static, dynamicStreamCompleted is set to true , dashHandler.isMediaFinished returns true and StreamProcessor stops buffering: dash.js/src/streaming/StreamProcessor.js Lines 409 to 418 in b5f408b
In 3.2.2 there was a flag in DashHandler indicating whether dash.js/src/dash/DashHandler.js Line 293 in 27f4eb3
This was removed in 4.0.0, so maybe this caused the regression? Maybe we can just remove the conditional mentioned above: dash.js/src/dash/DashHandler.js Lines 212 to 213 in b5f408b
and let the logic that follows, handle static manifest? |
Thanks for your analysis and suggestion @lkinasiewicz . Together with @bbert we solved this a little differently in #3748 , moving the check of the |
Environment
Steps to reproduce
See issue #3263 to get how to play catch-up/start-over streams
Observed behavior
catch-up/start-over streams do not start anymore. Support for such streams has been introduced in PR #3280
If setting start time (anchor time) to 0, then stream may start, but dynamic to static transition is broken: playback is stopped once we reach end of stream (dynamic to static transition) even if we are not playing at end of stream.
Console output
Expected behavior
When starting catch-up/start-over streams, playback should by default start a live edge.
At dynamic to static transition, playback should continue until reaching end of stream.
The text was updated successfully, but these errors were encountered: