Update tests/__data__
This commit is contained in:
45
tests/__data__/input/playlist_update/manifest.mpd
Normal file
45
tests/__data__/input/playlist_update/manifest.mpd
Normal file
@@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- -->
|
||||
<MPD xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:mpeg:dash:schema:mpd:2011" xsi:schemaLocation="urn:mpeg:dash:schema:mpd:2011 http://standards.iso.org/ittf/PubliclyAvailableStandards/MPEG-DASH_schema_files/DASH-MPD.xsd" type="dynamic" availabilityStartTime="1970-01-01T00:00:00Z" publishTime="2026-03-24T17:45:06.924442Z" minimumUpdatePeriod="PT4S" timeShiftBufferDepth="PT31.840S" maxSegmentDuration="PT5S" minBufferTime="PT2S" profiles="urn:hbbtv:dash:profile:isoff-live:2012,urn:hbbtv:dash:profile:isoff-live:2012">
|
||||
<Period id="1" start="PT0S">
|
||||
<BaseURL>dash/</BaseURL>
|
||||
<AdaptationSet id="1" group="1" contentType="audio" segmentAlignment="true" audioSamplingRate="48000" mimeType="audio/mp4" codecs="mp4a.40.2" startWithSAP="1">
|
||||
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
|
||||
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"/>
|
||||
<SegmentTemplate timescale="48000" initialization="studiocam_oe3-$RepresentationID$.dash" media="studiocam_oe3-$RepresentationID$-$Time$.dash">
|
||||
<!-- 2026-03-24T17:44:28.465875Z / 1774374268 - 2026-03-24T17:45:00.316541Z -->
|
||||
<SegmentTimeline>
|
||||
<S t="85169964886362" d="230400"/>
|
||||
<S d="207872"/>
|
||||
<S d="160768"/>
|
||||
<S d="219136"/>
|
||||
<S d="189440"/>
|
||||
<S d="179200"/>
|
||||
<S d="160768"/>
|
||||
<S d="181248"/>
|
||||
</SegmentTimeline>
|
||||
</SegmentTemplate>
|
||||
<Representation id="audio_192257_und=192000" bandwidth="192000">
|
||||
</Representation>
|
||||
</AdaptationSet>
|
||||
<AdaptationSet id="2" group="2" contentType="video" par="16:9" segmentAlignment="true" width="1280" height="720" sar="1:1" frameRate="50" mimeType="video/mp4" codecs="avc1.4D4028" startWithSAP="1">
|
||||
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"/>
|
||||
<SegmentTemplate timescale="600" initialization="studiocam_oe3-$RepresentationID$.dash" media="studiocam_oe3-$RepresentationID$-$Time$.dash">
|
||||
<!-- 2026-03-24T17:44:28.456666Z / 1774374268 - 2026-03-24T17:45:00.296666Z -->
|
||||
<SegmentTimeline>
|
||||
<S t="1064624561074" d="2880"/>
|
||||
<S d="2592"/>
|
||||
<S d="2016"/>
|
||||
<S d="2736"/>
|
||||
<S d="2376"/>
|
||||
<S d="2232"/>
|
||||
<S d="2016"/>
|
||||
<S d="2256"/>
|
||||
</SegmentTimeline>
|
||||
</SegmentTemplate>
|
||||
<Representation id="video=2000000" bandwidth="2000000" scanType="progressive">
|
||||
</Representation>
|
||||
</AdaptationSet>
|
||||
</Period>
|
||||
<UTCTiming schemeIdUri="urn:mpeg:dash:utc:http-iso:2014" value="https://time.akamai.com/?iso"/>
|
||||
</MPD>
|
||||
12
tests/__data__/input/playlist_update/playlist.m3u8
Normal file
12
tests/__data__/input/playlist_update/playlist.m3u8
Normal file
@@ -0,0 +1,12 @@
|
||||
#EXTM3U
|
||||
## Generated with https://github.com/shaka-project/shaka-packager version v3.4.2-c819dea-release
|
||||
#EXT-X-INDEPENDENT-SEGMENTS
|
||||
#EXT-X-MEDIA:TYPE=AUDIO,URI="stream_4.m3u8",GROUP-ID="default-audio-group",LANGUAGE="pl",NAME="stream_4",DEFAULT=NO,AUTOSELECT=YES,CHANNELS="2"
|
||||
#EXT-X-STREAM-INF:BANDWIDTH=3688787,AVERAGE-BANDWIDTH=8948756,CODECS="avc1.424028,mp4a.40.2",RESOLUTION=1920x1080,FRAME-RATE=25.000,AUDIO="default-audio-group",CLOSED-CAPTIONS=NONE
|
||||
stream_0.m3u8
|
||||
#EXT-X-STREAM-INF:BANDWIDTH=1988787,AVERAGE-BANDWIDTH=3688345,CODECS="avc1.42401f,mp4a.40.2",RESOLUTION=1280x720,FRAME-RATE=25.000,AUDIO="default-audio-group",CLOSED-CAPTIONS=NONE
|
||||
stream_1.m3u8
|
||||
#EXT-X-STREAM-INF:BANDWIDTH=1188787,AVERAGE-BANDWIDTH=1774276,CODECS="avc1.42401e,mp4a.40.2",RESOLUTION=853x480,FRAME-RATE=25.000,AUDIO="default-audio-group",CLOSED-CAPTIONS=NONE
|
||||
stream_2.m3u8
|
||||
#EXT-X-STREAM-INF:BANDWIDTH=688787,AVERAGE-BANDWIDTH=766090,CODECS="avc1.42401e,mp4a.40.2",RESOLUTION=640x360,FRAME-RATE=25.000,AUDIO="default-audio-group",CLOSED-CAPTIONS=NONE
|
||||
stream_3.m3u8
|
||||
@@ -1,111 +0,0 @@
|
||||
export default {
|
||||
type: 'playlist',
|
||||
isMasterPlaylist: true,
|
||||
independentSegments: true,
|
||||
source:
|
||||
'#EXTM3U\n## Generated with https://github.com/shaka-project/shaka-packager version v3.4.2-c819dea-release\n\n#EXT-X-INDEPENDENT-SEGMENTS\n\n#EXT-X-MEDIA:TYPE=AUDIO,URI="stream_4.m3u8",GROUP-ID="default-audio-group",LANGUAGE="pl",NAME="stream_4",DEFAULT=NO,AUTOSELECT=YES,CHANNELS="2"\n\n#EXT-X-STREAM-INF:BANDWIDTH=3688787,AVERAGE-BANDWIDTH=8948756,CODECS="avc1.424028,mp4a.40.2",RESOLUTION=1920x1080,FRAME-RATE=25.000,AUDIO="default-audio-group",CLOSED-CAPTIONS=NONE\nstream_0.m3u8\n#EXT-X-STREAM-INF:BANDWIDTH=1988787,AVERAGE-BANDWIDTH=3688345,CODECS="avc1.42401f,mp4a.40.2",RESOLUTION=1280x720,FRAME-RATE=25.000,AUDIO="default-audio-group",CLOSED-CAPTIONS=NONE\nstream_1.m3u8\n#EXT-X-STREAM-INF:BANDWIDTH=1188787,AVERAGE-BANDWIDTH=1774276,CODECS="avc1.42401e,mp4a.40.2",RESOLUTION=853x480,FRAME-RATE=25.000,AUDIO="default-audio-group",CLOSED-CAPTIONS=NONE\nstream_2.m3u8\n#EXT-X-STREAM-INF:BANDWIDTH=688787,AVERAGE-BANDWIDTH=766090,CODECS="avc1.42401e,mp4a.40.2",RESOLUTION=640x360,FRAME-RATE=25.000,AUDIO="default-audio-group",CLOSED-CAPTIONS=NONE\nstream_3.m3u8\n',
|
||||
variants: [
|
||||
{
|
||||
uri: 'stream_0.m3u8',
|
||||
isIFrameOnly: false,
|
||||
bandwidth: 3688787,
|
||||
averageBandwidth: 8948756,
|
||||
codecs: 'avc1.424028,mp4a.40.2',
|
||||
resolution: { width: 1920, height: 1080 },
|
||||
frameRate: 25,
|
||||
audio: [
|
||||
{
|
||||
type: 'AUDIO',
|
||||
uri: 'stream_4.m3u8',
|
||||
groupId: 'default-audio-group',
|
||||
language: 'pl',
|
||||
name: 'stream_4',
|
||||
isDefault: false,
|
||||
autoselect: true,
|
||||
channels: '2'
|
||||
}
|
||||
],
|
||||
video: [],
|
||||
subtitles: [],
|
||||
closedCaptions: [],
|
||||
currentRenditions: { audio: 0, video: 0, subtitles: 0, closedCaptions: 0 }
|
||||
},
|
||||
{
|
||||
uri: 'stream_1.m3u8',
|
||||
isIFrameOnly: false,
|
||||
bandwidth: 1988787,
|
||||
averageBandwidth: 3688345,
|
||||
codecs: 'avc1.42401f,mp4a.40.2',
|
||||
resolution: { width: 1280, height: 720 },
|
||||
frameRate: 25,
|
||||
audio: [
|
||||
{
|
||||
type: 'AUDIO',
|
||||
uri: 'stream_4.m3u8',
|
||||
groupId: 'default-audio-group',
|
||||
language: 'pl',
|
||||
name: 'stream_4',
|
||||
isDefault: false,
|
||||
autoselect: true,
|
||||
channels: '2'
|
||||
}
|
||||
],
|
||||
video: [],
|
||||
subtitles: [],
|
||||
closedCaptions: [],
|
||||
currentRenditions: { audio: 0, video: 0, subtitles: 0, closedCaptions: 0 }
|
||||
},
|
||||
{
|
||||
uri: 'stream_2.m3u8',
|
||||
isIFrameOnly: false,
|
||||
bandwidth: 1188787,
|
||||
averageBandwidth: 1774276,
|
||||
codecs: 'avc1.42401e,mp4a.40.2',
|
||||
resolution: { width: 853, height: 480 },
|
||||
frameRate: 25,
|
||||
audio: [
|
||||
{
|
||||
type: 'AUDIO',
|
||||
uri: 'stream_4.m3u8',
|
||||
groupId: 'default-audio-group',
|
||||
language: 'pl',
|
||||
name: 'stream_4',
|
||||
isDefault: false,
|
||||
autoselect: true,
|
||||
channels: '2'
|
||||
}
|
||||
],
|
||||
video: [],
|
||||
subtitles: [],
|
||||
closedCaptions: [],
|
||||
currentRenditions: { audio: 0, video: 0, subtitles: 0, closedCaptions: 0 }
|
||||
},
|
||||
{
|
||||
uri: 'stream_3.m3u8',
|
||||
isIFrameOnly: false,
|
||||
bandwidth: 688787,
|
||||
averageBandwidth: 766090,
|
||||
codecs: 'avc1.42401e,mp4a.40.2',
|
||||
resolution: { width: 640, height: 360 },
|
||||
frameRate: 25,
|
||||
audio: [
|
||||
{
|
||||
type: 'AUDIO',
|
||||
uri: 'stream_4.m3u8',
|
||||
groupId: 'default-audio-group',
|
||||
language: 'pl',
|
||||
name: 'stream_4',
|
||||
isDefault: false,
|
||||
autoselect: true,
|
||||
channels: '2'
|
||||
}
|
||||
],
|
||||
video: [],
|
||||
subtitles: [],
|
||||
closedCaptions: [],
|
||||
currentRenditions: { audio: 0, video: 0, subtitles: 0, closedCaptions: 0 }
|
||||
}
|
||||
],
|
||||
sessionDataList: [],
|
||||
sessionKeyList: []
|
||||
}
|
||||
Reference in New Issue
Block a user