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.16k stars 1.68k forks source link

Stream stalls at 19 seconds (length is 20) #1566

Closed AviVahl closed 8 years ago

AviVahl commented 8 years ago
Environment

Browse to http://dashif.org/reference/players/javascript/v2.2.0/samples/dash-if-reference-player/index.html Enter http://storage.googleapis.com/wixmp-vod/test-dash.mpd Click load. Play. Let it run to the end.

Observed behaviour

Player is asking for seg_6, which doesn't exists. It also stalls at 19s.

Console output

dashif.org-1472728126167.zip

Additional notes

The stream gets to 20s on a very old dash.js version (1.1.0): http://demo.unified-streaming.com/players/dashjs/index.html It still asks for seg_6 though.

The stream works well on Bitmovin's player: http://bitmovin.com/hls-mpeg-dash-test-player/ (without even requesting seg_6)

davemevans commented 8 years ago

The duration is set at 20.02s but you only have video data for 20s. You must provide continuous media for all media types for the entire duration, so seg_6 should exist and contain valid media for that time, or you need to set the duration to the lowest of the media durations.

Setting duration to 20s allows the stream to complete as expected, with no requests for non-existent segments.

AviVahl commented 8 years ago

Amazing response time guys. Thank you for the useful information. Should I close the issue?