Files
Garrett Singer f109078ded feat: use new mpd-parser API for handling live DASH refreshes (#1231)
In order to support the new mpd-parser API, whenever a DASH manifest
refreshes, the prior parsed manifest object needs to be passed in as
`previousManifest`. This change adds support for that.
2021-12-17 12:23:13 -05:00

25 lines
1.3 KiB
XML

<?xml version="1.0"?>
<MPD xmlns="urn:mpeg:dash:schema:mpd:2011" profiles="urn:mpeg:dash:profile:isoff-live:2011" minBufferTime="1.5" minimumUpdatePeriod="PT4S" type="dynamic" availabilityStartTime="1970-01-01T00:00:00Z" timeShiftBufferDepth="PT1H0M0S">
<Period start="PT0S">
<BaseURL>main/</BaseURL>
<AdaptationSet mimeType="video/mp4">
<BaseURL>video/</BaseURL>
<Representation id="1080p" bandwidth="6800000" width="1920" height="1080">
<BaseURL>1080/</BaseURL>
<SegmentTemplate media="$RepresentationID$-segment-$Number$.mp4" initialization="$RepresentationID$-init.mp4" duration="10" timescale="5" startNumber="0" />
</Representation>
<Representation id="720p" bandwidth="2400000" width="1280" height="720">
<BaseURL>720/</BaseURL>
<SegmentTemplate media="$RepresentationID$-segment-$Number$.mp4" initialization="$RepresentationID$-init.mp4" duration="10" timescale="5" startNumber="0" />
</Representation>
</AdaptationSet>
<AdaptationSet mimeType="audio/mp4">
<BaseURL>audio/</BaseURL>
<Representation id="audio" bandwidth="128000">
<BaseURL>720/</BaseURL>
<SegmentTemplate media="segment-$Number$.mp4" initialization="$RepresentationID$-init.mp4" duration="10" timescale="5" startNumber="0" />
</Representation>
</AdaptationSet>
</Period>
</MPD>