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

Multi-period-live service starts to play and stops abruptly #1078

Closed AdithyanIlangovan closed 8 years ago

AdithyanIlangovan commented 8 years ago

A live multi-period service can be played (dash-live-source-simulator) with the following url:

http://vm2.dashif.org/livesim-dev/periods_60/testpic_2s/Manifest.mpd

This plays out a live video with periods of length 1 minute each. The dash.js player starts playing this url and stops at a certain point.

If I notice the console messages for dash.js in browser, whenever the segment template hits the boundary, it abruptly stops. The buffer does not get filled anymore.

Console message would look something like :

SegmentTemplate : 58/60 -> Will run SegmentTemplate : 59/60 -> Will run SegmentTemplate : 60/60 -> Abruptly stops

I observed this in v1.6.0.

Edit : Found a similiar problem in v1.5.1

TobbeEdgeware commented 8 years ago

This is still the case in 2.0.0 RC_4. I've added http://vm2.dashif.org/livesim/periods_60/testpic_2s/Manifest.mpd as content in the reference player via PR #1157. The reference player stop right before the end of each minute.

dsparacio commented 8 years ago

This is SegmentTimeline with no timeShift correct?

TobbeEdgeware commented 8 years ago

It is not SegmentTimeline, but SegmentTemplate with $Number template and a new period every minute with matching period start and PTO values.

dsparacio commented 8 years ago

@TobbeEdgeware OK good we know about MultiPeriod issue. This will be the major known issue we are going out with and I will address this right away in 2.1 with a feature refactor fix. It fails in 1.5.1 as well I would assume. Thanks for raising the issue.

dsparacio commented 8 years ago

Issue being tracked in #1033