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

Transition from dynamyc to static cut off some content at the end #4591

Open
5 tasks done
MHrezdovic opened this issue Oct 11, 2024 · 0 comments
Open
5 tasks done

Transition from dynamyc to static cut off some content at the end #4591

MHrezdovic opened this issue Oct 11, 2024 · 0 comments

Comments

@MHrezdovic
Copy link

MHrezdovic commented Oct 11, 2024

Environment
  • Link to playable MPD file: I'm not able to provide our stream as they are signed...but any stream that can do a transition can do
  • Dash.js version: 4.7.4
  • Browser name/version: Chrome 129.0.6668.100
  • OS name/version: Mac
Steps to reproduce
  1. Please provide clear steps to reproduce your problem

load a dynamic stream that will transition to static after a while
observe the duration player is indicating

  1. If the bug is intermittent, give a rough frequency if possible
    It happens always.
Observed behavior

Our problem occurs when transitioning from dynamic to static playback. Recently, we’ve noticed that when playing an asset that starts as dynamic and then switches to static, the playback duration calculation becomes incorrect.

Our use case is as follows:
We run a dynamic stream that ends after a certain time. When we load this stream, and the stream transitions to static, the duration calculation stops at the moment of the switch and ignores the last manifest update, which includes the transition to static with the final few segments. I managed to simulate this in the reference player and have attached screenshots.

already_static
still_dynamic

Console output

reference.dashif.org-1728645442138.log

Expected behavior

Expectation is that player will update the stream duration after last tansitioning manifest update and play the entire asset to the real end time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants