Closed jakubvojacek closed 6 years ago
It passes the validator, but I don't think this is valid - you state there is an empty SegmentTimeline
, but that element is not included here, only a SegmentTemplate
with no @duration
.
The spec is clear that If the Representation contains more than one Media Segment, then either the attribute @duration or the element SegmentTimeline shall be present
. Neither of those things is true. Additionally, the DASH-IF IOP are even clearer: exactly one of SegmentTemplate@duration or SegmentTemplate.SegmentTimeline must be present per Representation.
Regardless, it will still fail since media should be available for the entire @timeShiftBufferDepth
. Personally, I think dash.js is behaving correctly and that the packager should be producing valid segments with empty samples.
Of course, there is the option to copy the Shaka Player functionality.
Hi @jakubvojacek and @bbcrddave ,
I rather agree with David. However, the issue seems to be solved by adding a small test of availabilityWindow. @jakubvojacek could you, please, test it on your side?
thanks,
Nico
@nicosang thank you for the PR. I will try to talk to shaka packager team to fix this issue on their side.
Steps to reproduce
The playback does not start in case of live content that has subtitle track with no subtitles available yet. Sample MPD is:
Observed behaviour
The playback is not started, ends up with an error instead. This issue was just recently resolved by the shaka player team in their player https://github.com/google/shaka-player/issues/1484 and you can sucecssfully test playing the MPD here https://nightly-dot-shaka-player-demo.appspot.com/
Console output