Closed ldayananda closed 5 years ago
Requires https://github.com/videojs/mpd-parser/pull/43 (merged)
This appears to be working to some degree. Will do more testing next week.
This stream fails: http://yt-dash-mse-test.commondatastorage.googleapis.com/media/car-20120827-manifest.mpd, from http://dash-mse-test.appspot.com/media.html Something about not being able to set discontinuity on a segment.
So, the youtube car stream has something that is potentially against the spec, it has two representations with the same id. Both Shaka and Youtube test player work.
Realized that if I do a null check they work fine.
Also, the two comments above should've been in the VHS repo.
I think the null check makes sense since the playlist.segments
would be empty on the first time through the parser for a sidx playlist because of this change
https://github.com/videojs/mpd-parser/pull/41/files#diff-09d49417dae2795e5eab7a01f6db04daR56
Though I'm surprised I didn't run into it earlier
Attempted fix for https://github.com/videojs/http-streaming/issues/162.
Status
This appears to be working on the issue source.
Changes proposed:
sidxMapping
option on theparse
method to allow modifying a complete master playlist with metadata from a parsed sidx boxsidx
property with byteRange references to manifest objects generated with SegmentBase. This applies to both video and audio playlistssidx.references
when thesidxMapping
option is givenSources
To do