Dash-Industry-Forum / dash.js

A reference client implementation for the playback of MPEG DASH via Javascript and compliant browsers.
http://reference.dashif.org/dash.js/nightly/samples/dash-if-reference-player/index.html
Other
5.13k stars 1.68k forks source link

Scrub-bar and timeline does not change to VoD as livesim MPD transitions from dynamic to static #4291

Open tobbee opened 1 year ago

tobbee commented 1 year ago
Environment
Steps to reproduce

1.Run reference player with the provided link. Turn off loop sequence

Observed behavior
  1. The initial MPD is dynamic with location with absolute times and an availabilityStartTime 20s ago. The total asset should be a live asset of duration 26s after which it becomes a static VoD. The last segment loaded should be 12.m4s
  2. The player starts at around 12s from the start and downloads segment until there are no more (may end at 23.29 which may be a rounding issue in livesim2).
  3. The player stops after 13 segments with video showing time 00:00:25:29, but the "scrubbar type" still says "live" and the scrubber is not change to go from 0 to duration
  4. If loop is turned on, the asset loops, but doesn't follow the location, it seems.
Expected behavior

Since the asset transits from being dynamic (live) to static (VoD), I expect the scrub-bar to do the same. The timeline should also switch from 0-26. If looping, it is the static MPD that should be looped.

Related to issue #4271.

dsilhavy commented 11 months ago

Partially fixed in #4314. While the controlbar behaves fine now, the looping still fails. This is probably because we ignore the last MPD update in the current dynamic to static transition workflow.

dsilhavy commented 11 months ago

Moved the second issue as explained above to version 5.1.0 as it probably involves additional changes to the dynamic to static processing workflow of dash.js

As a workaround content can easily be looped by attaching the same MPD URL again (in case the content is available as static MPD)