-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(DASH): Live to vod transition (#7404)
The PR is solving playback error in a Multi period manifest when the start time is not 0. Additionally, solving the error code 3015 due to the clear of the buffer during the playback. Fixes #7401
- Loading branch information
Showing
15 changed files
with
232 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<MPD xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns="urn:mpeg:dash:schema:mpd:2011" | ||
xmlns:xlink="http://www.w3.org/1999/xlink" | ||
xsi:schemaLocation="urn:mpeg:DASH:schema:MPD:2011 http://standards.iso.org/ittf/PubliclyAvailableStandards/MPEG-DASH_schema_files/DASH-MPD.xsd" | ||
profiles="urn:mpeg:dash:profile:isoff-live:2011" | ||
type="dynamic" | ||
minimumUpdatePeriod="PT2S" | ||
suggestedPresentationDelay="PT2S" | ||
availabilityStartTime="2021-10-28T07:35:57.755Z" | ||
publishTime="2021-10-28T07:36:29.744Z" | ||
timeShiftBufferDepth="PT42.0S" | ||
maxSegmentDuration="PT2.0S" | ||
minBufferTime="PT4.0S"> | ||
<ProgramInformation> | ||
</ProgramInformation> | ||
<ServiceDescription id="0"> | ||
</ServiceDescription> | ||
<Period id="0" start="PT1000.0S" duration="PT14.0S"> | ||
<AdaptationSet id="0" contentType="video" startWithSAP="1" segmentAlignment="true" bitstreamSwitching="true" frameRate="30/1" maxWidth="1280" maxHeight="720" par="16:9"> | ||
<Representation id="0" mimeType="video/mp4" codecs="avc1.64001f" bandwidth="122012" width="1280" height="720" sar="1:1"> | ||
<SegmentTemplate timescale="15360" initialization="init-stream$RepresentationID$.m4s" media="chunk-stream$RepresentationID$-$Number%05d$.m4s" startNumber="1"> | ||
<SegmentTimeline> | ||
<S t="0" d="30720" r="6" /> | ||
</SegmentTimeline> | ||
</SegmentTemplate> | ||
</Representation> | ||
</AdaptationSet> | ||
</Period> | ||
<Period id="1" start="PT1014.0S" duration="PT14.0S"> | ||
<AdaptationSet id="0" contentType="video" startWithSAP="1" segmentAlignment="true" bitstreamSwitching="true" frameRate="30/1" maxWidth="1280" maxHeight="720" par="16:9"> | ||
<Representation id="0" mimeType="video/mp4" codecs="avc1.64001f" bandwidth="122012" width="1280" height="720" sar="1:1"> | ||
<SegmentTemplate timescale="15360" initialization="init-stream$RepresentationID$.m4s" media="chunk-stream$RepresentationID$-$Number%05d$.m4s" startNumber="1"> | ||
<SegmentTimeline> | ||
<S t="0" d="30720" r="6" /> | ||
</SegmentTimeline> | ||
</SegmentTemplate> | ||
</Representation> | ||
</AdaptationSet> | ||
</Period> | ||
<Period id="2" start="PT1028.0S" > | ||
<AdaptationSet id="0" contentType="video" startWithSAP="1" segmentAlignment="true" bitstreamSwitching="true" frameRate="30/1" maxWidth="1280" maxHeight="720" par="16:9"> | ||
<Representation id="0" mimeType="video/mp4" codecs="avc1.64001f" bandwidth="122012" width="1280" height="720" sar="1:1"> | ||
<SegmentTemplate timescale="15360" initialization="init-stream$RepresentationID$.m4s" media="chunk-stream$RepresentationID$-$Number%05d$.m4s" startNumber="1"> | ||
<SegmentTimeline> | ||
<S t="0" d="30720" r="1" /> | ||
</SegmentTimeline> | ||
</SegmentTemplate> | ||
</Representation> | ||
</AdaptationSet> | ||
</Period> | ||
</MPD> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<MPD xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns="urn:mpeg:dash:schema:mpd:2011" | ||
xmlns:xlink="http://www.w3.org/1999/xlink" | ||
xsi:schemaLocation="urn:mpeg:DASH:schema:MPD:2011 http://standards.iso.org/ittf/PubliclyAvailableStandards/MPEG-DASH_schema_files/DASH-MPD.xsd" | ||
profiles="urn:mpeg:dash:profile:isoff-live:2011" | ||
type="dynamic" | ||
minimumUpdatePeriod="PT2S" | ||
suggestedPresentationDelay="PT2S" | ||
availabilityStartTime="2021-10-28T07:35:57.755Z" | ||
publishTime="2021-10-28T07:36:31.750Z" | ||
timeShiftBufferDepth="PT42.0S" | ||
maxSegmentDuration="PT2.0S" | ||
minBufferTime="PT4.0S"> | ||
<ProgramInformation> | ||
</ProgramInformation> | ||
<ServiceDescription id="0"> | ||
</ServiceDescription> | ||
<Period id="0" start="PT1000.0S" duration="PT14.0S"> | ||
<AdaptationSet id="0" contentType="video" startWithSAP="1" segmentAlignment="true" bitstreamSwitching="true" frameRate="30/1" maxWidth="1280" maxHeight="720" par="16:9"> | ||
<Representation id="0" mimeType="video/mp4" codecs="avc1.64001f" bandwidth="122012" width="1280" height="720" sar="1:1"> | ||
<SegmentTemplate timescale="15360" initialization="init-stream$RepresentationID$.m4s" media="chunk-stream$RepresentationID$-$Number%05d$.m4s" startNumber="1"> | ||
<SegmentTimeline> | ||
<S t="0" d="30720" r="6" /> | ||
</SegmentTimeline> | ||
</SegmentTemplate> | ||
</Representation> | ||
</AdaptationSet> | ||
</Period> | ||
<Period id="1" start="PT1014.0S" duration="PT14.0S"> | ||
<AdaptationSet id="0" contentType="video" startWithSAP="1" segmentAlignment="true" bitstreamSwitching="true" frameRate="30/1" maxWidth="1280" maxHeight="720" par="16:9"> | ||
<Representation id="0" mimeType="video/mp4" codecs="avc1.64001f" bandwidth="122012" width="1280" height="720" sar="1:1"> | ||
<SegmentTemplate timescale="15360" initialization="init-stream$RepresentationID$.m4s" media="chunk-stream$RepresentationID$-$Number%05d$.m4s" startNumber="1"> | ||
<SegmentTimeline> | ||
<S t="0" d="30720" r="6" /> | ||
</SegmentTimeline> | ||
</SegmentTemplate> | ||
</Representation> | ||
</AdaptationSet> | ||
</Period> | ||
<Period id="2" start="PT1028.0S" > | ||
<AdaptationSet id="0" contentType="video" startWithSAP="1" segmentAlignment="true" bitstreamSwitching="true" frameRate="30/1" maxWidth="1280" maxHeight="720" par="16:9"> | ||
<Representation id="0" mimeType="video/mp4" codecs="avc1.64001f" bandwidth="122012" width="1280" height="720" sar="1:1"> | ||
<SegmentTemplate timescale="15360" initialization="init-stream$RepresentationID$.m4s" media="chunk-stream$RepresentationID$-$Number%05d$.m4s" startNumber="1"> | ||
<SegmentTimeline> | ||
<S t="0" d="30720" r="2" /> | ||
</SegmentTimeline> | ||
</SegmentTemplate> | ||
</Representation> | ||
</AdaptationSet> | ||
</Period> | ||
</MPD> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<MPD xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns="urn:mpeg:dash:schema:mpd:2011" | ||
xmlns:xlink="http://www.w3.org/1999/xlink" | ||
xsi:schemaLocation="urn:mpeg:DASH:schema:MPD:2011 http://standards.iso.org/ittf/PubliclyAvailableStandards/MPEG-DASH_schema_files/DASH-MPD.xsd" | ||
profiles="urn:mpeg:dash:profile:isoff-live:2011" | ||
type="static" | ||
mediaPresentationDuration="PT42.0S" | ||
maxSegmentDuration="PT2.0S" | ||
minBufferTime="PT4.0S"> | ||
<ProgramInformation> | ||
</ProgramInformation> | ||
<ServiceDescription id="0"> | ||
</ServiceDescription> | ||
<Period id="0" start="PT0.0S" duration="PT14.0S"> | ||
<AdaptationSet id="0" contentType="video" startWithSAP="1" segmentAlignment="true" bitstreamSwitching="true" frameRate="30/1" maxWidth="1280" maxHeight="720" par="16:9"> | ||
<Representation id="0" mimeType="video/mp4" codecs="avc1.64001f" bandwidth="122012" width="1280" height="720" sar="1:1"> | ||
<SegmentTemplate timescale="15360" initialization="init-stream$RepresentationID$.m4s" media="chunk-stream$RepresentationID$-$Number%05d$.m4s" startNumber="1"> | ||
<SegmentTimeline> | ||
<S t="0" d="30720" r="6" /> | ||
</SegmentTimeline> | ||
</SegmentTemplate> | ||
</Representation> | ||
</AdaptationSet> | ||
</Period> | ||
<Period id="1" start="PT14.0S" duration="PT14.0S"> | ||
<AdaptationSet id="0" contentType="video" startWithSAP="1" segmentAlignment="true" bitstreamSwitching="true" frameRate="30/1" maxWidth="1280" maxHeight="720" par="16:9"> | ||
<Representation id="0" mimeType="video/mp4" codecs="avc1.64001f" bandwidth="122012" width="1280" height="720" sar="1:1"> | ||
<SegmentTemplate timescale="15360" initialization="init-stream$RepresentationID$.m4s" media="chunk-stream$RepresentationID$-$Number%05d$.m4s" startNumber="1"> | ||
<SegmentTimeline> | ||
<S t="0" d="30720" r="6" /> | ||
</SegmentTimeline> | ||
</SegmentTemplate> | ||
</Representation> | ||
</AdaptationSet> | ||
</Period> | ||
<Period id="2" start="PT28.0S" duration="PT14.0S"> | ||
<AdaptationSet id="0" contentType="video" startWithSAP="1" segmentAlignment="true" bitstreamSwitching="true" frameRate="30/1" maxWidth="1280" maxHeight="720" par="16:9"> | ||
<Representation id="0" mimeType="video/mp4" codecs="avc1.64001f" bandwidth="122012" width="1280" height="720" sar="1:1"> | ||
<SegmentTemplate timescale="15360" initialization="init-stream$RepresentationID$.m4s" media="chunk-stream$RepresentationID$-$Number%05d$.m4s" startNumber="1"> | ||
<SegmentTimeline> | ||
<S t="0" d="30720" r="6" /> | ||
</SegmentTimeline> | ||
</SegmentTemplate> | ||
</Representation> | ||
</AdaptationSet> | ||
</Period> | ||
</MPD> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters