Support for 'presentationDuration' in VoD content
Created by: niteeshbhat
Environment
-
The MPD passes the DASH-IF Conformance Tool on http://dashif.org/conformance.html -
The stream has correct Access-Control-Allow-Origin headers (CORS) -
There are no network errors such as 404s in the browser console when trying to play the stream -
The issue observed is not mentioned on https://github.com/Dash-Industry-Forum/dash.js/wiki/FAQ -
The issue occurs in the latest reference client on http://reference.dashif.org/dash.js/ and not just on my page
- Link to playable MPD file: https://dash.akamaized.net/dash264/TestCasesHD/MultiPeriod_OnDemand/TwoPeriods/TwoPeriod_OnDemand_presentationDur.mpd
- Dash.js version: 2.9.0
- Browser name/version:Chrome
- OS name/version: Ubuntu 16.04
Steps to reproduce
Load the MPD and play till presentation time 6:37.
Observed behaviour
The player is expected to stop playing the content at presentation time 6:37. The first period ends at 4:57 and the second period has presentationDuration of 100s in all the representations. Hence at 6:37, the player should stop presenting. However the presentation continues till the end of the second period.
'presentationDuration' in SegmentBase is a new feature in the latest DASH (3rd edition) and it should be newly supported by dash.js. There are two vectors generated. One mentioned above and the other is here : https://dash.akamaized.net/dash264/TestCasesHD/MultiPeriod_OnDemand/ThreePeriods/ThreePeriod_OnDemand_presentationDur.mpd