Tracking de l'application VApp (IHM du jeu)

This commit is contained in:
2025-05-11 18:04:12 +02:00
commit 89e9db9b62
17763 changed files with 3718499 additions and 0 deletions

View File

@ -0,0 +1,76 @@
export const parsedManifest = {
allowCache: true,
discontinuityStarts: [],
duration: 6,
endList: true,
mediaGroups: {
'AUDIO': {},
'CLOSED-CAPTIONS': {
cc: {
eng: {
autoselect: false,
default: false,
instreamId: 'CC1',
language: 'eng'
},
swe: {
autoselect: false,
default: false,
instreamId: 'CC3',
language: 'swe'
},
Hello: {
autoselect: false,
default: false,
instreamId: 'CC4',
language: 'Hello'
}
}
},
'SUBTITLES': {},
'VIDEO': {}
},
playlists: [
{
attributes: {
'AUDIO': 'audio',
'BANDWIDTH': 449000,
'CODECS': 'avc1.420015',
'FRAME-RATE': 23.976,
'NAME': '482',
'PROGRAM-ID': 1,
'RESOLUTION': {
height: 270,
width: 482
},
'SUBTITLES': 'subs'
},
endList: true,
resolvedUri: 'https://www.example.com/1080p.ts',
targetDuration: 6,
mediaSequence: 0,
timelineStarts: [{ start: 0, timeline: 0 }],
discontinuitySequence: 0,
discontinuityStarts: [],
segments: [
{
duration: 6,
timeline: 0,
number: 0,
presentationTime: 0,
map: {
uri: '',
resolvedUri: 'https://www.example.com/1080p.ts'
},
resolvedUri: 'https://www.example.com/1080p.ts',
uri: 'https://www.example.com/1080p.ts'
}
],
timeline: 0,
uri: ''
}
],
segments: [],
timelineStarts: [{ start: 0, timeline: 0 }],
uri: ''
};

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<MPD xmlns="urn:mpeg:dash:schema:mpd:2011" profiles="urn:mpeg:dash:profile:isoff-live:2011" type="static" mediaPresentationDuration="PT6S" minBufferTime="PT2.000S">
<BaseURL>https://www.example.com/base</BaseURL>
<Period>
<AdaptationSet mimeType="video/mp4" scanType="progressive" segmentAlignment="true" startWithSAP="1">
<Accessibility schemeIdUri="urn:scte:dash:cc:cea-608:2015" value="CC1=eng;CC3=swe;CC4=Hello"></Accessibility>
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
<Representation bandwidth="449000" codecs="avc1.420015" frameRate="2997/125" height="270" id="482" width="482" >
<SegmentBase></SegmentBase>
</Representation>
<BaseURL>1080p.ts</BaseURL>
<SegmentBase>
<RepresentationIndex sourceURL="1080p.sidx"/>
</SegmentBase>
</AdaptationSet>
</Period>
</MPD>

View File

@ -0,0 +1,77 @@
export const parsedManifest = {
allowCache: true,
discontinuityStarts: [],
duration: 6,
endList: true,
mediaGroups: {
'AUDIO': {},
'CLOSED-CAPTIONS': {
cc: {
// eng: {
// autoselect: false,
// default: false,
// instreamId: '1',
// language: 'eng',
// aspectRatio: 1,
// easyReader: 0,
// '3D': 0
// },
// TODO only this one ends up being represented and not both
eng: {
'autoselect': false,
'default': false,
'instreamId': 'SERVICE2',
'language': 'eng',
'aspectRatio': 1,
'easyReader': 1,
'3D': 0
}
}
},
'SUBTITLES': {},
'VIDEO': {}
},
playlists: [
{
attributes: {
'AUDIO': 'audio',
'BANDWIDTH': 449000,
'CODECS': 'avc1.420015',
'FRAME-RATE': 23.976,
'NAME': '482',
'PROGRAM-ID': 1,
'RESOLUTION': {
height: 270,
width: 482
},
'SUBTITLES': 'subs'
},
endList: true,
resolvedUri: 'https://www.example.com/1080p.ts',
targetDuration: 6,
mediaSequence: 0,
timelineStarts: [{ start: 0, timeline: 0 }],
discontinuitySequence: 0,
discontinuityStarts: [],
segments: [
{
duration: 6,
timeline: 0,
number: 0,
presentationTime: 0,
map: {
uri: '',
resolvedUri: 'https://www.example.com/1080p.ts'
},
resolvedUri: 'https://www.example.com/1080p.ts',
uri: 'https://www.example.com/1080p.ts'
}
],
timeline: 0,
uri: ''
}
],
segments: [],
timelineStarts: [{ start: 0, timeline: 0 }],
uri: ''
};

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<MPD xmlns="urn:mpeg:dash:schema:mpd:2011" profiles="urn:mpeg:dash:profile:isoff-live:2011" type="static" mediaPresentationDuration="PT6S" minBufferTime="PT2.000S">
<BaseURL>https://www.example.com/base</BaseURL>
<Period>
<AdaptationSet mimeType="video/mp4" scanType="progressive" segmentAlignment="true" startWithSAP="1">
<Accessibility schemeIdUri="urn:scte:dash:cc:cea-708:2015" value="1=lang:eng;2=lang:eng,war:1,er:1"></Accessibility>
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
<Representation bandwidth="449000" codecs="avc1.420015" frameRate="2997/125" height="270" id="482" width="482" >
<SegmentBase></SegmentBase>
</Representation>
<BaseURL>1080p.ts</BaseURL>
<SegmentBase>
<RepresentationIndex sourceURL="1080p.sidx"/>
</SegmentBase>
</AdaptationSet>
</Period>
</MPD>

View File

@ -0,0 +1,124 @@
export const parsedManifest = {
allowCache: true,
discontinuityStarts: [],
segments: [],
timelineStarts: [{
start: 0,
timeline: 0
}],
endList: true,
mediaGroups: {
'AUDIO': {
audio: {
en: {
language: 'en',
autoselect: true,
default: true,
playlists: [
{
attributes: {
'NAME': '0',
'BANDWIDTH': 130803,
'CODECS': 'mp4a.40.2',
'PROGRAM-ID': 1,
'AUDIO': 'audio',
'SUBTITLES': 'subs'
},
uri: '',
endList: true,
timeline: 0,
resolvedUri: 'http://example.com/audio_en_2c_128k_aac.mp4',
targetDuration: 60,
segments: [],
mediaSequence: 0,
discontinuitySequence: 0,
discontinuityStarts: [],
timelineStarts: [{
start: 0,
timeline: 0
}],
sidx: {
uri: 'http://example.com/audio_en_2c_128k_aac.mp4',
resolvedUri: 'http://example.com/audio_en_2c_128k_aac.mp4',
byterange: {
length: 224,
offset: 786
},
map: {
uri: '',
resolvedUri: 'http://example.com/audio_en_2c_128k_aac.mp4',
byterange: {
length: 786,
offset: 0
}
},
duration: 60,
timeline: 0,
presentationTime: 0,
number: 0
}
}
],
uri: ''
},
es: {
language: 'es',
autoselect: true,
default: false,
playlists: [
{
attributes: {
'NAME': '1',
'BANDWIDTH': 130405,
'CODECS': 'mp4a.40.2',
'PROGRAM-ID': 1,
'AUDIO': 'audio',
'SUBTITLES': 'subs'
},
uri: '',
endList: true,
timeline: 0,
resolvedUri: 'http://example.com/audio_es_2c_128k_aac.mp4',
targetDuration: 60,
segments: [],
mediaSequence: 0,
discontinuitySequence: 0,
discontinuityStarts: [],
timelineStarts: [{
start: 0,
timeline: 0
}],
sidx: {
uri: 'http://example.com/audio_es_2c_128k_aac.mp4',
resolvedUri: 'http://example.com/audio_es_2c_128k_aac.mp4',
byterange: {
length: 224,
offset: 786
},
map: {
uri: '',
resolvedUri: 'http://example.com/audio_es_2c_128k_aac.mp4',
byterange: {
length: 786,
offset: 0
}
},
duration: 60,
timeline: 0,
presentationTime: 0,
number: 0
}
}
],
uri: ''
}
}
},
'VIDEO': {},
'CLOSED-CAPTIONS': {},
'SUBTITLES': {}
},
uri: '',
duration: 60,
playlists: []
};

View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Generated with https://github.com/google/shaka-packager version v2.4.1-c731217-release-->
<MPD xmlns="urn:mpeg:dash:schema:mpd:2011" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:mpeg:dash:schema:mpd:2011 DASH-MPD.xsd" profiles="urn:mpeg:dash:profile:isoff-on-demand:2011" minBufferTime="PT2S" type="static" mediaPresentationDuration="PT60S">
<Period id="0">
<AdaptationSet id="0" contentType="audio" lang="en" subsegmentAlignment="true">
<Representation id="0" bandwidth="130803" codecs="mp4a.40.2" mimeType="audio/mp4" audioSamplingRate="48000">
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
<BaseURL>http://example.com/audio_en_2c_128k_aac.mp4</BaseURL>
<SegmentBase indexRange="786-1009" timescale="48000">
<Initialization range="0-785"/>
</SegmentBase>
</Representation>
</AdaptationSet>
<AdaptationSet id="1" contentType="audio" lang="es" subsegmentAlignment="true">
<Representation id="1" bandwidth="130405" codecs="mp4a.40.2" mimeType="audio/mp4" audioSamplingRate="48000">
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
<BaseURL>http://example.com/audio_es_2c_128k_aac.mp4</BaseURL>
<SegmentBase indexRange="786-1009" timescale="48000">
<Initialization range="0-785"/>
</SegmentBase>
</Representation>
</AdaptationSet>
</Period>
</MPD>

View File

@ -0,0 +1,64 @@
export const parsedManifest = {
locations: [
'https://www.example.com/updates'
],
allowCache: true,
discontinuityStarts: [],
timelineStarts: [{
start: 0,
timeline: 0
}],
duration: 6,
endList: true,
mediaGroups: {
'AUDIO': {},
'CLOSED-CAPTIONS': {},
'SUBTITLES': {},
'VIDEO': {}
},
playlists: [
{
attributes: {
'AUDIO': 'audio',
'BANDWIDTH': 449000,
'CODECS': 'avc1.420015',
'FRAME-RATE': 23.976,
'NAME': '482',
'PROGRAM-ID': 1,
'RESOLUTION': {
height: 270,
width: 482
},
'SUBTITLES': 'subs'
},
endList: true,
resolvedUri: 'https://www.example.com/1080p.ts',
targetDuration: 6,
mediaSequence: 0,
discontinuitySequence: 0,
discontinuityStarts: [],
timelineStarts: [{
start: 0,
timeline: 0
}],
segments: [
{
duration: 6,
timeline: 0,
number: 0,
presentationTime: 0,
map: {
uri: '',
resolvedUri: 'https://www.example.com/1080p.ts'
},
resolvedUri: 'https://www.example.com/1080p.ts',
uri: 'https://www.example.com/1080p.ts'
}
],
timeline: 0,
uri: ''
}
],
segments: [],
uri: ''
};

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<MPD xmlns="urn:mpeg:dash:schema:mpd:2011" profiles="urn:mpeg:dash:profile:isoff-live:2011" type="static" mediaPresentationDuration="PT6S" minBufferTime="PT2.000S">
<BaseURL>https://www.example.com/base</BaseURL>
<Location>https://www.example.com/updates</Location>
<Period>
<AdaptationSet mimeType="video/mp4" scanType="progressive" segmentAlignment="true" startWithSAP="1">
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
<Representation bandwidth="449000" codecs="avc1.420015" frameRate="2997/125" height="270" id="482" width="482" >
<SegmentBase></SegmentBase>
</Representation>
<BaseURL>1080p.ts</BaseURL>
<SegmentBase>
<RepresentationIndex sourceURL="1080p.sidx"/>
</SegmentBase>
</AdaptationSet>
</Period>
</MPD>

View File

@ -0,0 +1,65 @@
export const parsedManifest = {
locations: [
'https://www.example.com/updates',
'https://www.example.com/updates2'
],
allowCache: true,
discontinuityStarts: [],
timelineStarts: [{
start: 0,
timeline: 0
}],
duration: 6,
endList: true,
mediaGroups: {
'AUDIO': {},
'CLOSED-CAPTIONS': {},
'SUBTITLES': {},
'VIDEO': {}
},
playlists: [
{
attributes: {
'AUDIO': 'audio',
'BANDWIDTH': 449000,
'CODECS': 'avc1.420015',
'FRAME-RATE': 23.976,
'NAME': '482',
'PROGRAM-ID': 1,
'RESOLUTION': {
height: 270,
width: 482
},
'SUBTITLES': 'subs'
},
endList: true,
resolvedUri: 'https://www.example.com/1080p.ts',
targetDuration: 6,
mediaSequence: 0,
discontinuitySequence: 0,
discontinuityStarts: [],
timelineStarts: [{
start: 0,
timeline: 0
}],
segments: [
{
duration: 6,
timeline: 0,
number: 0,
presentationTime: 0,
map: {
uri: '',
resolvedUri: 'https://www.example.com/1080p.ts'
},
resolvedUri: 'https://www.example.com/1080p.ts',
uri: 'https://www.example.com/1080p.ts'
}
],
timeline: 0,
uri: ''
}
],
segments: [],
uri: ''
};

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<MPD xmlns="urn:mpeg:dash:schema:mpd:2011" profiles="urn:mpeg:dash:profile:isoff-live:2011" type="static" mediaPresentationDuration="PT6S" minBufferTime="PT2.000S">
<BaseURL>https://www.example.com/base</BaseURL>
<Location>https://www.example.com/updates</Location>
<Location>https://www.example.com/updates2</Location>
<Period>
<AdaptationSet mimeType="video/mp4" scanType="progressive" segmentAlignment="true" startWithSAP="1">
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
<Representation bandwidth="449000" codecs="avc1.420015" frameRate="2997/125" height="270" id="482" width="482" >
<SegmentBase></SegmentBase>
</Representation>
<BaseURL>1080p.ts</BaseURL>
<SegmentBase>
<RepresentationIndex sourceURL="1080p.sidx"/>
</SegmentBase>
</AdaptationSet>
</Period>
</MPD>

View File

@ -0,0 +1,611 @@
export const parsedManifest = {
allowCache: true,
discontinuityStarts: [],
segments: [],
timelineStarts: [{ start: 0, timeline: 0 }],
endList: true,
mediaGroups: {
'AUDIO': {
audio: {
'en (main)': {
language: 'en',
autoselect: true,
default: true,
playlists: [
{
attributes: {
'NAME': '63000',
'BANDWIDTH': 63000,
'CODECS': 'mp4a.40.2',
'PROGRAM-ID': 1
},
uri: '',
endList: true,
timeline: 0,
timelineStarts: [{ start: 0, timeline: 0 }],
discontinuitySequence: 0,
discontinuityStarts: [],
resolvedUri: 'https://www.example.com/base',
targetDuration: 1.984,
segments: [
{
uri: '63000/0.m4f',
timeline: 0,
duration: 1.984,
resolvedUri: 'https://www.example.com/63000/0.m4f',
map: {
uri: '63000/init.m4f',
resolvedUri: 'https://www.example.com/63000/init.m4f'
},
number: 0,
presentationTime: 0
},
{
uri: '63000/1.m4f',
timeline: 0,
duration: 1.984,
resolvedUri: 'https://www.example.com/63000/1.m4f',
map: {
uri: '63000/init.m4f',
resolvedUri: 'https://www.example.com/63000/init.m4f'
},
number: 1,
presentationTime: 1.984
},
{
uri: '63000/2.m4f',
timeline: 0,
duration: 1.984,
resolvedUri: 'https://www.example.com/63000/2.m4f',
map: {
uri: '63000/init.m4f',
resolvedUri: 'https://www.example.com/63000/init.m4f'
},
number: 2,
presentationTime: 3.968
},
{
uri: '63000/3.m4f',
timeline: 0,
duration: 0.04800000000000004,
resolvedUri: 'https://www.example.com/63000/3.m4f',
map: {
uri: '63000/init.m4f',
resolvedUri: 'https://www.example.com/63000/init.m4f'
},
number: 3,
presentationTime: 5.952
}
],
mediaSequence: 0,
contentProtection: {
'com.widevine.alpha': {
attributes: {
schemeIdUri: 'urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed'
},
pssh: new Uint8Array([181, 235, 45])
},
'mp4protection': {
attributes: {
'cenc:default_KID': 'aaa',
'schemeIdUri': 'urn:mpeg:dash:mp4protection:2011',
'value': 'cenc'
}
}
}
},
{
attributes: {
'NAME': '125000',
'BANDWIDTH': 125000,
'CODECS': 'mp4a.40.2',
'PROGRAM-ID': 1
},
uri: '',
endList: true,
timeline: 0,
timelineStarts: [{ start: 0, timeline: 0 }],
discontinuitySequence: 0,
discontinuityStarts: [],
resolvedUri: 'https://www.example.com/base',
targetDuration: 1.984,
segments: [
{
uri: '125000/0.m4f',
timeline: 0,
duration: 1.984,
resolvedUri: 'https://www.example.com/125000/0.m4f',
map: {
uri: '125000/init.m4f',
resolvedUri: 'https://www.example.com/125000/init.m4f'
},
number: 0,
presentationTime: 0
},
{
uri: '125000/1.m4f',
timeline: 0,
duration: 1.984,
resolvedUri: 'https://www.example.com/125000/1.m4f',
map: {
uri: '125000/init.m4f',
resolvedUri: 'https://www.example.com/125000/init.m4f'
},
number: 1,
presentationTime: 1.984
},
{
uri: '125000/2.m4f',
timeline: 0,
duration: 1.984,
resolvedUri: 'https://www.example.com/125000/2.m4f',
map: {
uri: '125000/init.m4f',
resolvedUri: 'https://www.example.com/125000/init.m4f'
},
number: 2,
presentationTime: 3.968
},
{
uri: '125000/3.m4f',
timeline: 0,
duration: 0.04800000000000004,
resolvedUri: 'https://www.example.com/125000/3.m4f',
map: {
uri: '125000/init.m4f',
resolvedUri: 'https://www.example.com/125000/init.m4f'
},
number: 3,
presentationTime: 5.952
}
],
mediaSequence: 0,
contentProtection: {
'com.widevine.alpha': {
attributes: {
schemeIdUri: 'urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed'
},
pssh: new Uint8Array([181, 235, 45])
},
'mp4protection': {
attributes: {
'cenc:default_KID': 'aaa',
'schemeIdUri': 'urn:mpeg:dash:mp4protection:2011',
'value': 'cenc'
}
}
}
}
],
uri: ''
},
'es': {
language: 'es',
autoselect: true,
default: false,
playlists: [
{
attributes: {
'NAME': '63000',
'BANDWIDTH': 63000,
'CODECS': 'mp4a.40.2',
'PROGRAM-ID': 1
},
uri: '',
endList: true,
timeline: 0,
timelineStarts: [{ start: 0, timeline: 0 }],
discontinuitySequence: 0,
discontinuityStarts: [],
resolvedUri: 'https://www.example.com/base',
targetDuration: 1.984,
segments: [
{
uri: '63000/es/0.m4f',
timeline: 0,
duration: 1.984,
resolvedUri: 'https://www.example.com/63000/es/0.m4f',
map: {
uri: '63000/es/init.m4f',
resolvedUri: 'https://www.example.com/63000/es/init.m4f'
},
number: 0,
presentationTime: 0
},
{
uri: '63000/es/1.m4f',
timeline: 0,
duration: 1.984,
resolvedUri: 'https://www.example.com/63000/es/1.m4f',
map: {
uri: '63000/es/init.m4f',
resolvedUri: 'https://www.example.com/63000/es/init.m4f'
},
number: 1,
presentationTime: 1.984
},
{
uri: '63000/es/2.m4f',
timeline: 0,
duration: 1.984,
resolvedUri: 'https://www.example.com/63000/es/2.m4f',
map: {
uri: '63000/es/init.m4f',
resolvedUri: 'https://www.example.com/63000/es/init.m4f'
},
number: 2,
presentationTime: 3.968
},
{
uri: '63000/es/3.m4f',
timeline: 0,
duration: 0.04800000000000004,
resolvedUri: 'https://www.example.com/63000/es/3.m4f',
map: {
uri: '63000/es/init.m4f',
resolvedUri: 'https://www.example.com/63000/es/init.m4f'
},
number: 3,
presentationTime: 5.952
}
],
mediaSequence: 0,
contentProtection: {
'com.widevine.alpha': {
attributes: {
schemeIdUri: 'urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed'
},
pssh: new Uint8Array([181, 235, 45])
},
'mp4protection': {
attributes: {
'cenc:default_KID': 'aaa',
'schemeIdUri': 'urn:mpeg:dash:mp4protection:2011',
'value': 'cenc'
}
}
}
},
{
attributes: {
'NAME': '125000',
'BANDWIDTH': 125000,
'CODECS': 'mp4a.40.2',
'PROGRAM-ID': 1
},
uri: '',
endList: true,
timeline: 0,
timelineStarts: [{ start: 0, timeline: 0 }],
discontinuitySequence: 0,
discontinuityStarts: [],
resolvedUri: 'https://www.example.com/base',
targetDuration: 1.984,
segments: [
{
uri: '125000/es/0.m4f',
timeline: 0,
duration: 1.984,
resolvedUri: 'https://www.example.com/125000/es/0.m4f',
map: {
uri: '125000/es/init.m4f',
resolvedUri: 'https://www.example.com/125000/es/init.m4f'
},
number: 0,
presentationTime: 0
},
{
uri: '125000/es/1.m4f',
timeline: 0,
duration: 1.984,
resolvedUri: 'https://www.example.com/125000/es/1.m4f',
map: {
uri: '125000/es/init.m4f',
resolvedUri: 'https://www.example.com/125000/es/init.m4f'
},
number: 1,
presentationTime: 1.984
},
{
uri: '125000/es/2.m4f',
timeline: 0,
duration: 1.984,
resolvedUri: 'https://www.example.com/125000/es/2.m4f',
map: {
uri: '125000/es/init.m4f',
resolvedUri: 'https://www.example.com/125000/es/init.m4f'
},
number: 2,
presentationTime: 3.968
},
{
uri: '125000/es/3.m4f',
timeline: 0,
duration: 0.04800000000000004,
resolvedUri: 'https://www.example.com/125000/es/3.m4f',
map: {
uri: '125000/es/init.m4f',
resolvedUri: 'https://www.example.com/125000/es/init.m4f'
},
number: 3,
presentationTime: 5.952
}
],
mediaSequence: 0,
contentProtection: {
'com.widevine.alpha': {
attributes: {
schemeIdUri: 'urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed'
},
pssh: new Uint8Array([181, 235, 45])
},
'mp4protection': {
attributes: {
'cenc:default_KID': 'aaa',
'schemeIdUri': 'urn:mpeg:dash:mp4protection:2011',
'value': 'cenc'
}
}
}
}
],
uri: ''
}
}
},
'VIDEO': {},
'CLOSED-CAPTIONS': {},
'SUBTITLES': {
subs: {
en: {
language: 'en',
default: false,
autoselect: false,
playlists: [
{
attributes: {
'NAME': 'en',
'BANDWIDTH': 256,
'PROGRAM-ID': 1
},
uri: '',
endList: true,
timeline: 0,
timelineStarts: [{ start: 0, timeline: 0 }],
discontinuitySequence: 0,
discontinuityStarts: [],
resolvedUri: 'https://example.com/en.vtt',
targetDuration: 6,
segments: [
{
uri: 'https://example.com/en.vtt',
timeline: 0,
resolvedUri: 'https://example.com/en.vtt',
duration: 6,
number: 0
}
],
mediaSequence: 0
}
],
uri: ''
},
es: {
language: 'es',
default: false,
autoselect: false,
playlists: [
{
attributes: {
'NAME': 'es',
'BANDWIDTH': 256,
'PROGRAM-ID': 1
},
uri: '',
endList: true,
timeline: 0,
timelineStarts: [{ start: 0, timeline: 0 }],
discontinuitySequence: 0,
discontinuityStarts: [],
resolvedUri: 'https://example.com/es.vtt',
targetDuration: 6,
segments: [
{
uri: 'https://example.com/es.vtt',
timeline: 0,
resolvedUri: 'https://example.com/es.vtt',
duration: 6,
number: 0
}
],
mediaSequence: 0
}
],
uri: ''
}
}
}
},
uri: '',
duration: 6,
playlists: [
{
attributes: {
'NAME': '482',
'AUDIO': 'audio',
'SUBTITLES': 'subs',
'FRAME-RATE': 23.976,
'RESOLUTION': {
width: 482,
height: 270
},
'CODECS': 'avc1.420015',
'BANDWIDTH': 449000,
'PROGRAM-ID': 1
},
uri: '',
endList: true,
timeline: 0,
timelineStarts: [{ start: 0, timeline: 0 }],
discontinuitySequence: 0,
discontinuityStarts: [],
resolvedUri: 'https://www.example.com/base',
targetDuration: 1.9185833333333333,
segments: [
{
uri: '482/0.m4f',
timeline: 0,
duration: 1.9185833333333333,
resolvedUri: 'https://www.example.com/482/0.m4f',
map: {
uri: '482/init.m4f',
resolvedUri: 'https://www.example.com/482/init.m4f'
},
number: 0,
presentationTime: 0
},
{
uri: '482/1.m4f',
timeline: 0,
duration: 1.9185833333333333,
resolvedUri: 'https://www.example.com/482/1.m4f',
map: {
uri: '482/init.m4f',
resolvedUri: 'https://www.example.com/482/init.m4f'
},
number: 1,
presentationTime: 1.9185833333333333
},
{
uri: '482/2.m4f',
timeline: 0,
duration: 1.9185833333333333,
resolvedUri: 'https://www.example.com/482/2.m4f',
map: {
uri: '482/init.m4f',
resolvedUri: 'https://www.example.com/482/init.m4f'
},
number: 2,
presentationTime: 3.8371666666666666
},
{
uri: '482/3.m4f',
timeline: 0,
duration: 0.24425000000000008,
resolvedUri: 'https://www.example.com/482/3.m4f',
map: {
uri: '482/init.m4f',
resolvedUri: 'https://www.example.com/482/init.m4f'
},
number: 3,
presentationTime: 5.75575
}
],
mediaSequence: 0,
contentProtection: {
'com.widevine.alpha': {
attributes: {
schemeIdUri: 'urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed'
},
pssh: new Uint8Array([181, 235, 45])
},
'mp4protection': {
attributes: {
'cenc:default_KID': 'aaa',
'schemeIdUri': 'urn:mpeg:dash:mp4protection:2011',
'value': 'cenc'
}
}
}
},
{
attributes: {
'NAME': '720',
'AUDIO': 'audio',
'SUBTITLES': 'subs',
'FRAME-RATE': 23.976,
'RESOLUTION': {
width: 720,
height: 404
},
'CODECS': 'avc1.64001e',
'BANDWIDTH': 3971000,
'PROGRAM-ID': 1
},
uri: '',
endList: true,
timeline: 0,
timelineStarts: [{ start: 0, timeline: 0 }],
discontinuitySequence: 0,
discontinuityStarts: [],
resolvedUri: 'https://www.example.com/base',
targetDuration: 1.9185833333333333,
segments: [
{
uri: '720/0.m4f',
timeline: 0,
duration: 1.9185833333333333,
resolvedUri: 'https://www.example.com/720/0.m4f',
map: {
uri: '720/init.m4f',
resolvedUri: 'https://www.example.com/720/init.m4f'
},
number: 0,
presentationTime: 0
},
{
uri: '720/1.m4f',
timeline: 0,
duration: 1.9185833333333333,
resolvedUri: 'https://www.example.com/720/1.m4f',
map: {
uri: '720/init.m4f',
resolvedUri: 'https://www.example.com/720/init.m4f'
},
number: 1,
presentationTime: 1.9185833333333333
},
{
uri: '720/2.m4f',
timeline: 0,
duration: 1.9185833333333333,
resolvedUri: 'https://www.example.com/720/2.m4f',
map: {
uri: '720/init.m4f',
resolvedUri: 'https://www.example.com/720/init.m4f'
},
number: 2,
presentationTime: 3.8371666666666666
},
{
uri: '720/3.m4f',
timeline: 0,
duration: 0.24425000000000008,
resolvedUri: 'https://www.example.com/720/3.m4f',
map: {
uri: '720/init.m4f',
resolvedUri: 'https://www.example.com/720/init.m4f'
},
number: 3,
presentationTime: 5.75575
}
],
mediaSequence: 0,
contentProtection: {
'com.widevine.alpha': {
attributes: {
schemeIdUri: 'urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed'
},
pssh: new Uint8Array([181, 235, 45])
},
'mp4protection': {
attributes: {
'cenc:default_KID': 'aaa',
'schemeIdUri': 'urn:mpeg:dash:mp4protection:2011',
'value': 'cenc'
}
}
}
}
]
};

View File

@ -0,0 +1,60 @@
<?xml version="1.0" encoding="UTF-8"?>
<MPD xmlns="urn:mpeg:dash:schema:mpd:2011" xmlns:cenc="urn:mpeg:cenc:2013" profiles="urn:mpeg:dash:profile:isoff-live:2011" type="static" mediaPresentationDuration="PT6S" minBufferTime="PT2.000S">
<BaseURL>https://www.example.com/base</BaseURL>
<Period>
<AdaptationSet mimeType="audio/mp4" segmentAlignment="true" startWithSAP="1" lang="en">
<ContentProtection value="cenc" schemeIdUri="urn:mpeg:dash:mp4protection:2011" cenc:default_KID="aaa"/>
<ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed">
<cenc:pssh>test</cenc:pssh>
</ContentProtection>
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
<SegmentTemplate duration="95232" initialization="$RepresentationID$/init.m4f" media="$RepresentationID$/$Number$.m4f" startNumber="0" timescale="48000"></SegmentTemplate>
<Representation audioSamplingRate="48000" bandwidth="63000" codecs="mp4a.40.2" id="63000">
</Representation>
<Representation audioSamplingRate="48000" bandwidth="125000" codecs="mp4a.40.2" id="125000">
</Representation>
</AdaptationSet>
<AdaptationSet mimeType="audio/mp4" segmentAlignment="true" startWithSAP="1" lang="es">
<ContentProtection value="cenc" schemeIdUri="urn:mpeg:dash:mp4protection:2011" cenc:default_KID="aaa"/>
<ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed">
<cenc:pssh>test</cenc:pssh>
</ContentProtection>
<Role schemeIdUri="urn:mpeg:dash:role:2011"></Role>
<SegmentTemplate duration="95232" initialization="$RepresentationID$/es/init.m4f" media="$RepresentationID$/es/$Number$.m4f" startNumber="0" timescale="48000"></SegmentTemplate>
<Representation audioSamplingRate="48000" bandwidth="63000" codecs="mp4a.40.2" id="63000">
</Representation>
<Representation audioSamplingRate="48000" bandwidth="125000" codecs="mp4a.40.2" id="125000">
</Representation>
</AdaptationSet>
<AdaptationSet mimeType="video/mp4" scanType="progressive" segmentAlignment="true" startWithSAP="1">
<ContentProtection value="cenc" schemeIdUri="urn:mpeg:dash:mp4protection:2011" cenc:default_KID="aaa"/>
<ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed">
<cenc:pssh>test</cenc:pssh>
</ContentProtection>
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
<SegmentTemplate duration="46046" initialization="$RepresentationID$/init.m4f" media="$RepresentationID$/$Number$.m4f" startNumber="0" timescale="24000"></SegmentTemplate>
<Representation bandwidth="449000" codecs="avc1.420015" frameRate="2997/125" height="270" id="482" width="482">
</Representation>
<Representation bandwidth="3971000" codecs="avc1.64001e" frameRate="2997/125" height="404" id="720" width="720">
</Representation>
</AdaptationSet>
<AdaptationSet mimeType="text/vtt" lang="en">
<Representation bandwidth="256" id="en">
<BaseURL>https://example.com/en.vtt</BaseURL>
</Representation>
</AdaptationSet>
<AdaptationSet mimeType="text/vtt" lang="es">
<Representation bandwidth="256" id="es">
<BaseURL>https://example.com/es.vtt</BaseURL>
</Representation>
</AdaptationSet>
</Period>
</MPD>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,143 @@
<?xml version="1.0" encoding="UTF-8"?>
<MPD xmlns="urn:mpeg:dash:schema:mpd:2011" xmlns:cenc="urn:mpeg:cenc:2013" profiles="urn:mpeg:dash:profile:isoff-live:2011" type="dynamic" mediaPresentationDuration="PT36.269S" minBufferTime="PT2.000S" suggestedPresentationDelay="PT18S">
<Period id="0" start="PT0S" duration="PT5.972633333S">
<AdaptationSet mimeType="audio/mp4" segmentAlignment="true" startWithSAP="1" lang="en">
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
<SegmentTemplate initialization="https://example.com/$RepresentationID$/init0.m4f" media="https://example.com/$RepresentationID$/segment$Number$.m4f" startNumber="0" timescale="44100">
<SegmentTimeline>
<S d="88064" r="2"></S>
</SegmentTimeline>
</SegmentTemplate>
<Representation audioSamplingRate="44100" bandwidth="123000" codecs="mp4a.40.2" id="default_audio128_2"></Representation>
<Representation audioSamplingRate="44100" bandwidth="93000" codecs="mp4a.40.2" id="default_audio96_2"></Representation>
</AdaptationSet>
<AdaptationSet mimeType="video/mp4" scanType="progressive" segmentAlignment="true" startWithSAP="1">
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
<SegmentTemplate initialization="https://example.com/$RepresentationID$/init0.m4f" media="https://example.com/$RepresentationID$/segment$Number$.m4f" startNumber="0" timescale="30000">
<SegmentTimeline>
<S d="60060" r="1"></S>
<S d="59059"></S>
</SegmentTimeline>
</SegmentTemplate>
<Representation bandwidth="2008000" codecs="avc1.4d001f" frameRate="2997/100" height="720" id="default_video2000_0_1280x720" width="1280"></Representation>
<Representation bandwidth="1195000" codecs="avc1.4d001f" frameRate="2997/100" height="540" id="default_video1200_1_960x540" width="960"></Representation>
<Representation bandwidth="884000" codecs="avc1.4d001e" frameRate="2997/100" height="360" id="default_video900_1_640x360" width="640"></Representation>
</AdaptationSet>
</Period>
<Period id="1" duration="PT4.838166665S">
<AdaptationSet mimeType="audio/mp4" segmentAlignment="true" startWithSAP="1" lang="en">
<ContentProtection value="cenc" schemeIdUri="urn:mpeg:dash:mp4protection:2011" cenc:default_KID="aaa"/>
<ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed">
<cenc:pssh>test</cenc:pssh>
</ContentProtection>
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
<SegmentTemplate initialization="https://example.com/$RepresentationID$/init1.m4f" media="https://example.com/$RepresentationID$/segment$Number$.m4f" startNumber="3" timescale="44100">
<SegmentTimeline>
<S d="88064" r="1"></S>
<S d="37888"></S>
</SegmentTimeline>
</SegmentTemplate>
<Representation audioSamplingRate="44100" bandwidth="123000" codecs="mp4a.40.2" id="default_audio128_2"></Representation>
<Representation audioSamplingRate="44100" bandwidth="93000" codecs="mp4a.40.2" id="default_audio96_2"></Representation>
</AdaptationSet>
<AdaptationSet mimeType="video/mp4" scanType="progressive" segmentAlignment="true" startWithSAP="1">
<ContentProtection value="cenc" schemeIdUri="urn:mpeg:dash:mp4protection:2011" cenc:default_KID="aaa"/>
<ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed">
<cenc:pssh>test</cenc:pssh>
</ContentProtection>
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
<SegmentTemplate initialization="https://example.com/$RepresentationID$/init1.m4f" media="https://example.com/$RepresentationID$/segment$Number$.m4f" startNumber="3" timescale="30000">
<SegmentTimeline>
<S d="58058" r="1"></S>
<S d="29029"></S>
</SegmentTimeline>
</SegmentTemplate>
<Representation bandwidth="2008000" codecs="avc1.4d001f" frameRate="2997/100" height="720" id="default_video2000_0_1280x720" width="1280"></Representation>
<Representation bandwidth="1195000" codecs="avc1.4d001f" frameRate="2997/100" height="540" id="default_video1200_1_960x540" width="960"></Representation>
<Representation bandwidth="884000" codecs="avc1.4d001e" frameRate="2997/100" height="360" id="default_video900_1_640x360" width="640"></Representation>
</AdaptationSet>
</Period>
<Period id="2" duration="PT13.980633333S">
<AdaptationSet mimeType="audio/mp4" segmentAlignment="true" startWithSAP="1" lang="en">
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
<SegmentTemplate initialization="https://example.com/$RepresentationID$/init2.m4f" media="https://example.com/$RepresentationID$/segment$Number$.m4f" startNumber="6" timescale="44100">
<SegmentTimeline>
<S d="88064" r="6"></S>
<S d="1024"></S>
</SegmentTimeline>
</SegmentTemplate>
<Representation audioSamplingRate="44100" bandwidth="123000" codecs="mp4a.40.2" id="default_audio128_2"></Representation>
<Representation audioSamplingRate="44100" bandwidth="93000" codecs="mp4a.40.2" id="default_audio96_2"></Representation>
</AdaptationSet>
<AdaptationSet mimeType="video/mp4" scanType="progressive" segmentAlignment="true" startWithSAP="1">
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
<SegmentTemplate initialization="https://example.com/$RepresentationID$/init2.m4f" media="https://example.com/$RepresentationID$/segment$Number$.m4f" startNumber="6" timescale="30000">
<SegmentTimeline>
<S d="60060" r="5"></S>
<S d="59059"></S>
</SegmentTimeline>
</SegmentTemplate>
<Representation bandwidth="2008000" codecs="avc1.4d001f" frameRate="2997/100" height="720" id="default_video2000_0_1280x720" width="1280"></Representation>
<Representation bandwidth="1195000" codecs="avc1.4d001f" frameRate="2997/100" height="540" id="default_video1200_1_960x540" width="960"></Representation>
<Representation bandwidth="884000" codecs="avc1.4d001e" frameRate="2997/100" height="360" id="default_video900_1_640x360" width="640"></Representation>
</AdaptationSet>
</Period>
<Period id="3" duration="PT3.157913831S">
<AdaptationSet mimeType="audio/mp4" segmentAlignment="true" startWithSAP="1" lang="en">
<ContentProtection value="cenc" schemeIdUri="urn:mpeg:dash:mp4protection:2011" cenc:default_KID="aaa"/>
<ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed">
<cenc:pssh>test</cenc:pssh>
</ContentProtection>
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
<SegmentTemplate presentationTimeOffset="214016" initialization="https://example.com/$RepresentationID$/init3.m4f" media="https://example.com/$RepresentationID$/segment$Number$.m4f" startNumber="14" timescale="44100">
<SegmentTimeline>
<S d="51200"></S>
<S d="88064"></S>
</SegmentTimeline>
</SegmentTemplate>
<Representation audioSamplingRate="44100" bandwidth="123000" codecs="mp4a.40.2" id="default_audio128_2"></Representation>
<Representation audioSamplingRate="44100" bandwidth="93000" codecs="mp4a.40.2" id="default_audio96_2"></Representation>
</AdaptationSet>
<AdaptationSet mimeType="video/mp4" scanType="progressive" segmentAlignment="true" startWithSAP="1">
<ContentProtection value="cenc" schemeIdUri="urn:mpeg:dash:mp4protection:2011" cenc:default_KID="aaa"/>
<ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed">
<cenc:pssh>test</cenc:pssh>
</ContentProtection>
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
<SegmentTemplate presentationTimeOffset="145145" initialization="https://example.com/$RepresentationID$/init3.m4f" media="https://example.com/$RepresentationID$/segment$Number$.m4f" startNumber="13" timescale="30000">
<SegmentTimeline>
<S d="29029"></S>
<S d="58058"></S>
<S d="8008"></S>
</SegmentTimeline>
</SegmentTemplate>
<Representation bandwidth="2008000" codecs="avc1.4d001f" frameRate="2997/100" height="720" id="default_video2000_0_1280x720" width="1280"></Representation>
<Representation bandwidth="1195000" codecs="avc1.4d001f" frameRate="2997/100" height="540" id="default_video1200_1_960x540" width="960"></Representation>
<Representation bandwidth="884000" codecs="avc1.4d001e" frameRate="2997/100" height="360" id="default_video900_1_640x360" width="640"></Representation>
</AdaptationSet>
</Period>
<Period id="4" duration="PT7.987664396S">
<AdaptationSet mimeType="audio/mp4" segmentAlignment="true" startWithSAP="1" lang="en">
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
<SegmentTemplate initialization="https://example.com/$RepresentationID$/segment$Number$.m4f" media="https://example.com/$RepresentationID$/segment$Number$.m4f" startNumber="16" timescale="44100">
<SegmentTimeline>
<S d="88064" r="3"></S>
</SegmentTimeline>
</SegmentTemplate>
<Representation audioSamplingRate="44100" bandwidth="123000" codecs="mp4a.40.2" id="default_audio128_2"></Representation>
<Representation audioSamplingRate="44100" bandwidth="93000" codecs="mp4a.40.2" id="default_audio96_2"></Representation>
</AdaptationSet>
<AdaptationSet mimeType="video/mp4" scanType="progressive" segmentAlignment="true" startWithSAP="1">
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
<SegmentTemplate initialization="https://example.com/$RepresentationID$/segment$Number$.m4f" media="https://example.com/$RepresentationID$/segment$Number$.m4f" startNumber="16" timescale="30000">
<SegmentTimeline>
<S d="60060" r="2"></S>
<S d="59059"></S>
</SegmentTimeline>
</SegmentTemplate>
<Representation bandwidth="2008000" codecs="avc1.4d001f" frameRate="2997/100" height="720" id="default_video2000_0_1280x720" width="1280"></Representation>
<Representation bandwidth="1195000" codecs="avc1.4d001f" frameRate="2997/100" height="540" id="default_video1200_1_960x540" width="960"></Representation>
<Representation bandwidth="884000" codecs="avc1.4d001e" frameRate="2997/100" height="360" id="default_video900_1_640x360" width="640"></Representation>
</AdaptationSet>
</Period>
</MPD>

View File

@ -0,0 +1,104 @@
export const parsedManifest = {
allowCache: true,
discontinuityStarts: [],
duration: 12,
endList: true,
mediaGroups: {
'AUDIO': {},
'CLOSED-CAPTIONS': {},
'SUBTITLES': {},
'VIDEO': {}
},
playlists: [
{
attributes: {
'AUDIO': 'audio',
'BANDWIDTH': 449000,
'CODECS': 'avc1.420015',
'FRAME-RATE': 23.976,
'NAME': '482',
'PROGRAM-ID': 1,
'RESOLUTION': {
height: 270,
width: 482
},
'SUBTITLES': 'subs'
},
endList: true,
mediaSequence: 0,
discontinuitySequence: 0,
discontinuityStarts: [2],
timelineStarts: [{
start: 0,
timeline: 0
}, {
start: 6,
timeline: 6
}],
targetDuration: 3,
resolvedUri: 'https://www.example.com/base',
segments: [
{
duration: 3,
map: {
uri: '',
resolvedUri: 'https://www.example.com/base'
},
resolvedUri: 'https://www.example.com/low/segment-1.ts',
timeline: 0,
presentationTime: 0,
uri: 'low/segment-1.ts',
number: 0
},
{
duration: 3,
map: {
uri: '',
resolvedUri: 'https://www.example.com/base'
},
resolvedUri: 'https://www.example.com/low/segment-2.ts',
timeline: 0,
presentationTime: 3,
uri: 'low/segment-2.ts',
number: 1
},
{
discontinuity: true,
duration: 3,
map: {
uri: '',
resolvedUri: 'https://www.example.com/base'
},
resolvedUri: 'https://www.example.com/low/segment-1.ts',
timeline: 6,
presentationTime: 6,
uri: 'low/segment-1.ts',
number: 2
},
{
duration: 3,
map: {
uri: '',
resolvedUri: 'https://www.example.com/base'
},
resolvedUri: 'https://www.example.com/low/segment-2.ts',
timeline: 6,
presentationTime: 9,
uri: 'low/segment-2.ts',
number: 3
}
],
timeline: 0,
uri: ''
}
],
segments: [],
timelineStarts: [{
start: 0,
timeline: 0
}, {
start: 6,
timeline: 6
}],
uri: ''
};

View File

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<MPD
xmlns="urn:mpeg:dash:schema:mpd:2011"
profiles="urn:mpeg:dash:profile:isoff-live:2011"
type="static"
mediaPresentationDuration="PT12S"
minBufferTime="PT3.000S">
<BaseURL>https://www.example.com/base</BaseURL>
<Period duration="PT6S">
<AdaptationSet mimeType="video/mp4" scanType="progressive" segmentAlignment="true" startWithSAP="1">
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
<Representation bandwidth="449000" codecs="avc1.420015" frameRate="2997/125" height="270" id="482" width="482" >
</Representation>
<SegmentList timescale="1000" duration="3000">
<RepresentationIndex sourceURL="representation-index-low"/>
<SegmentURL media="low/segment-1.ts"/>
<SegmentURL media="low/segment-2.ts"/>
</SegmentList>
</AdaptationSet>
</Period>
<Period>
<AdaptationSet mimeType="video/mp4" scanType="progressive" segmentAlignment="true" startWithSAP="1">
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
<Representation bandwidth="449000" codecs="avc1.420015" frameRate="2997/125" height="270" id="482" width="482" >
</Representation>
<SegmentList timescale="1000" duration="3000">
<RepresentationIndex sourceURL="representation-index-low"/>
<SegmentURL media="low/segment-1.ts"/>
<SegmentURL media="low/segment-2.ts"/>
</SegmentList>
</AdaptationSet>
</Period>
</MPD>

View File

@ -0,0 +1,237 @@
export const parsedManifest = {
allowCache: true,
uri: '',
duration: 30,
discontinuityStarts: [],
segments: [],
timelineStarts: [{
start: 0,
timeline: 0
}, {
start: 15,
timeline: 15
}],
endList: true,
mediaGroups: {
'AUDIO': {
audio: {
en: {
language: 'en',
autoselect: true,
default: true,
playlists: [
{
attributes: {
'NAME': '2',
'BANDWIDTH': 32000,
'CODECS': 'mp4a.40.2',
'PROGRAM-ID': 1
},
uri: '',
endList: true,
timeline: 0,
resolvedUri: 'https://www.example.com/base',
targetDuration: 5,
segments: [
{
uri: 'audio/segment_0.m4f',
timeline: 0,
duration: 5,
resolvedUri: 'https://www.example.com/audio/segment_0.m4f',
map: {
uri: 'audio/init.m4f',
resolvedUri: 'https://www.example.com/audio/init.m4f'
},
number: 0,
presentationTime: 0
},
{
uri: 'audio/segment_1.m4f',
timeline: 0,
duration: 5,
resolvedUri: 'https://www.example.com/audio/segment_1.m4f',
map: {
uri: 'audio/init.m4f',
resolvedUri: 'https://www.example.com/audio/init.m4f'
},
number: 1,
presentationTime: 5
},
{
uri: 'audio/segment_2.m4f',
timeline: 0,
duration: 5,
resolvedUri: 'https://www.example.com/audio/segment_2.m4f',
map: {
uri: 'audio/init.m4f',
resolvedUri: 'https://www.example.com/audio/init.m4f'
},
number: 2,
presentationTime: 10
},
{
discontinuity: true,
uri: 'audio/segment_0.m4f',
timeline: 15,
duration: 5,
resolvedUri: 'https://www.example.com/audio/segment_0.m4f',
map: {
uri: 'audio/init.m4f',
resolvedUri: 'https://www.example.com/audio/init.m4f'
},
number: 3,
presentationTime: 15
},
{
uri: 'audio/segment_1.m4f',
timeline: 15,
duration: 5,
resolvedUri: 'https://www.example.com/audio/segment_1.m4f',
map: {
uri: 'audio/init.m4f',
resolvedUri: 'https://www.example.com/audio/init.m4f'
},
number: 4,
presentationTime: 20
},
{
uri: 'audio/segment_2.m4f',
timeline: 15,
duration: 5,
resolvedUri: 'https://www.example.com/audio/segment_2.m4f',
map: {
uri: 'audio/init.m4f',
resolvedUri: 'https://www.example.com/audio/init.m4f'
},
number: 5,
presentationTime: 25
}
],
mediaSequence: 0,
discontinuitySequence: 0,
discontinuityStarts: [3],
timelineStarts: [{
start: 0,
timeline: 0
}, {
start: 15,
timeline: 15
}]
}
],
uri: ''
}
}
},
'VIDEO': {},
'CLOSED-CAPTIONS': {},
'SUBTITLES': {}
},
playlists: [
{
attributes: {
'AUDIO': 'audio',
'BANDWIDTH': 100000,
'CODECS': 'avc1.4d001f',
'FRAME-RATE': 24,
'NAME': '1',
'PROGRAM-ID': 1,
'RESOLUTION': {
height: 200,
width: 480
},
'SUBTITLES': 'subs'
},
uri: '',
endList: true,
timeline: 0,
resolvedUri: 'https://www.example.com/base',
targetDuration: 5,
segments: [
{
uri: 'video/segment_0.m4f',
timeline: 0,
duration: 5,
resolvedUri: 'https://www.example.com/video/segment_0.m4f',
map: {
uri: 'video/init.m4f',
resolvedUri: 'https://www.example.com/video/init.m4f'
},
number: 0,
presentationTime: 0
},
{
uri: 'video/segment_1.m4f',
timeline: 0,
duration: 5,
resolvedUri: 'https://www.example.com/video/segment_1.m4f',
map: {
uri: 'video/init.m4f',
resolvedUri: 'https://www.example.com/video/init.m4f'
},
number: 1,
presentationTime: 5
},
{
uri: 'video/segment_2.m4f',
timeline: 0,
duration: 5,
resolvedUri: 'https://www.example.com/video/segment_2.m4f',
map: {
uri: 'video/init.m4f',
resolvedUri: 'https://www.example.com/video/init.m4f'
},
number: 2,
presentationTime: 10
},
{
discontinuity: true,
uri: 'video/segment_0.m4f',
timeline: 15,
duration: 5,
resolvedUri: 'https://www.example.com/video/segment_0.m4f',
map: {
uri: 'video/init.m4f',
resolvedUri: 'https://www.example.com/video/init.m4f'
},
number: 3,
presentationTime: 15
},
{
uri: 'video/segment_1.m4f',
timeline: 15,
duration: 5,
resolvedUri: 'https://www.example.com/video/segment_1.m4f',
map: {
uri: 'video/init.m4f',
resolvedUri: 'https://www.example.com/video/init.m4f'
},
number: 4,
presentationTime: 20
},
{
uri: 'video/segment_2.m4f',
timeline: 15,
duration: 5,
resolvedUri: 'https://www.example.com/video/segment_2.m4f',
map: {
uri: 'video/init.m4f',
resolvedUri: 'https://www.example.com/video/init.m4f'
},
number: 5,
presentationTime: 25
}
],
mediaSequence: 0,
discontinuitySequence: 0,
discontinuityStarts: [3],
timelineStarts: [{
start: 0,
timeline: 0
}, {
start: 15,
timeline: 15
}]
}
]
};

View File

@ -0,0 +1,78 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<MPD
id="a467fa27-2820-41d1-89e2-a43216770daa"
profiles="urn:mpeg:dash:profile:full:2011"
type="static"
mediaPresentationDuration="PT30S"
xmlns="urn:mpeg:dash:schema:mpd:2011">
<Period id="1" start="PT0S" duration="PT15S">
<BaseURL>https://www.example.com/base</BaseURL>
<AdaptationSet mimeType="video/mp4">
<Representation
id="1"
bandwidth="100000"
width="480"
height="200"
frameRate="24"
codecs="avc1.4d001f">
<SegmentTemplate
media="video/segment_$Number$.m4f"
initialization="video/init.m4f"
duration="50"
startNumber="0"
timescale="10"/>
</Representation>
</AdaptationSet>
<AdaptationSet lang="en" mimeType="audio/mp4">
<AudioChannelConfiguration
schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011"
value="2"/>
<Representation id="2"
bandwidth="32000"
audioSamplingRate="48000"
codecs="mp4a.40.2">
<SegmentTemplate
media="audio/segment_$Number$.m4f"
initialization="audio/init.m4f"
duration="240000"
startNumber="0"
timescale="48000"/>
</Representation>
</AdaptationSet>
</Period>
<Period id="2" duration="PT15S">
<BaseURL>https://www.example.com/base</BaseURL>
<AdaptationSet mimeType="video/mp4">
<Representation
id="1"
bandwidth="100000"
width="480"
height="200"
frameRate="24"
codecs="avc1.4d001f">
<SegmentTemplate
media="video/segment_$Number$.m4f"
initialization="video/init.m4f"
duration="50"
startNumber="0"
timescale="10"/>
</Representation>
</AdaptationSet>
<AdaptationSet lang="en" mimeType="audio/mp4">
<AudioChannelConfiguration
schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011"
value="2"/>
<Representation id="2"
bandwidth="32000"
audioSamplingRate="48000"
codecs="mp4a.40.2">
<SegmentTemplate
media="audio/segment_$Number$.m4f"
initialization="audio/init.m4f"
duration="240000"
startNumber="0"
timescale="48000"/>
</Representation>
</AdaptationSet>
</Period>
</MPD>

View File

@ -0,0 +1,483 @@
export const parsedManifest = {
allowCache: true,
discontinuityStarts: [],
duration: 0,
endList: true,
timelineStarts: [
{ start: 100, timeline: 100},
{ start: 103, timeline: 103},
{ start: 107, timeline: 107},
{ start: 111, timeline: 111}
],
mediaGroups: {
'AUDIO': {
audio: {
'en (main)': {
autoselect: true,
default: true,
language: 'en',
playlists: [
{
attributes: {
'BANDWIDTH': 129262,
'CODECS': 'mp4a.40.5',
'NAME': 'v0',
'PROGRAM-ID': 1
},
endList: false,
mediaSequence: 3,
discontinuitySequence: 2,
discontinuityStarts: [0],
timelineStarts: [
{ start: 111, timeline: 111}
],
resolvedUri: 'http://example.com/audio/v0/',
segments: [
{
discontinuity: true,
duration: 1,
map: {
resolvedUri: 'http://example.com/audio/v0/init.mp4',
uri: 'init.mp4'
},
presentationTime: 111,
number: 3,
resolvedUri: 'http://example.com/audio/v0/862.m4f',
timeline: 111,
uri: '862.m4f'
},
{
duration: 1,
map: {
resolvedUri: 'http://example.com/audio/v0/init.mp4',
uri: 'init.mp4'
},
presentationTime: 112,
number: 4,
resolvedUri: 'http://example.com/audio/v0/863.m4f',
timeline: 111,
uri: '863.m4f'
},
{
duration: 1,
map: {
resolvedUri: 'http://example.com/audio/v0/init.mp4',
uri: 'init.mp4'
},
presentationTime: 113,
number: 5,
resolvedUri: 'http://example.com/audio/v0/864.m4f',
timeline: 111,
uri: '864.m4f'
}
],
targetDuration: 1,
timeline: 111,
uri: ''
}
],
uri: ''
}
}
},
'CLOSED-CAPTIONS': {},
'SUBTITLES': {},
'VIDEO': {}
},
minimumUpdatePeriod: 2000,
playlists: [
{
attributes: {
'AUDIO': 'audio',
'BANDWIDTH': 2942295,
'CODECS': 'avc1.4d001f',
'FRAME-RATE': 30,
'NAME': 'D',
'PROGRAM-ID': 1,
'RESOLUTION': {
height: 720,
width: 1280
},
'SUBTITLES': 'subs'
},
endList: false,
mediaSequence: 7,
discontinuitySequence: 2,
discontinuityStarts: [0],
timelineStarts: [
{ start: 111, timeline: 111}
],
resolvedUri: 'http://example.com/video/D/',
segments: [
{
discontinuity: true,
duration: 1,
map: {
resolvedUri: 'http://example.com/video/D/D_init.mp4',
uri: 'D_init.mp4'
},
presentationTime: 111,
number: 7,
resolvedUri: 'http://example.com/video/D/D862.m4f',
timeline: 111,
uri: 'D862.m4f'
},
{
duration: 1,
map: {
resolvedUri: 'http://example.com/video/D/D_init.mp4',
uri: 'D_init.mp4'
},
presentationTime: 112,
number: 8,
resolvedUri: 'http://example.com/video/D/D863.m4f',
timeline: 111,
uri: 'D863.m4f'
},
{
duration: 1,
map: {
resolvedUri: 'http://example.com/video/D/D_init.mp4',
uri: 'D_init.mp4'
},
presentationTime: 113,
number: 9,
resolvedUri: 'http://example.com/video/D/D864.m4f',
timeline: 111,
uri: 'D864.m4f'
}
],
targetDuration: 1,
timeline: 111,
uri: ''
},
{
attributes: {
'AUDIO': 'audio',
'BANDWIDTH': 4267536,
'CODECS': 'avc1.640020',
'FRAME-RATE': 60,
'NAME': 'E',
'PROGRAM-ID': 1,
'RESOLUTION': {
height: 720,
width: 1280
},
'SUBTITLES': 'subs'
},
endList: false,
mediaSequence: 7,
discontinuitySequence: 2,
timelineStarts: [
{ start: 111, timeline: 111}
],
discontinuityStarts: [0],
resolvedUri: 'http://example.com/video/E/',
segments: [
{
discontinuity: true,
duration: 1,
map: {
resolvedUri: 'http://example.com/video/E/E_init.mp4',
uri: 'E_init.mp4'
},
presentationTime: 111,
number: 7,
resolvedUri: 'http://example.com/video/E/E862.m4f',
timeline: 111,
uri: 'E862.m4f'
},
{
duration: 1,
map: {
resolvedUri: 'http://example.com/video/E/E_init.mp4',
uri: 'E_init.mp4'
},
presentationTime: 112,
number: 8,
resolvedUri: 'http://example.com/video/E/E863.m4f',
timeline: 111,
uri: 'E863.m4f'
},
{
duration: 1,
map: {
resolvedUri: 'http://example.com/video/E/E_init.mp4',
uri: 'E_init.mp4'
},
presentationTime: 113,
number: 9,
resolvedUri: 'http://example.com/video/E/E864.m4f',
timeline: 111,
uri: 'E864.m4f'
}
],
targetDuration: 1,
timeline: 111,
uri: ''
},
{
attributes: {
'AUDIO': 'audio',
'BANDWIDTH': 5256859,
'CODECS': 'avc1.640020',
'FRAME-RATE': 60,
'NAME': 'F',
'PROGRAM-ID': 1,
'RESOLUTION': {
height: 720,
width: 1280
},
'SUBTITLES': 'subs'
},
endList: false,
mediaSequence: 3,
discontinuitySequence: 2,
timelineStarts: [
{ start: 111, timeline: 111}
],
discontinuityStarts: [0],
resolvedUri: 'http://example.com/video/F/',
segments: [
{
discontinuity: true,
duration: 1,
map: {
resolvedUri: 'http://example.com/video/F/F_init.mp4',
uri: 'F_init.mp4'
},
presentationTime: 111,
number: 3,
resolvedUri: 'http://example.com/video/F/F862.m4f',
timeline: 111,
uri: 'F862.m4f'
},
{
duration: 1,
map: {
resolvedUri: 'http://example.com/video/F/F_init.mp4',
uri: 'F_init.mp4'
},
presentationTime: 112,
number: 4,
resolvedUri: 'http://example.com/video/F/F863.m4f',
timeline: 111,
uri: 'F863.m4f'
},
{
duration: 1,
map: {
resolvedUri: 'http://example.com/video/F/F_init.mp4',
uri: 'F_init.mp4'
},
presentationTime: 113,
number: 5,
resolvedUri: 'http://example.com/video/F/F864.m4f',
timeline: 111,
uri: 'F864.m4f'
}
],
targetDuration: 1,
timeline: 111,
uri: ''
},
{
attributes: {
'AUDIO': 'audio',
'BANDWIDTH': 240781,
'CODECS': 'avc1.4d000d',
'FRAME-RATE': 30,
'NAME': 'A',
'PROGRAM-ID': 1,
'RESOLUTION': {
height: 234,
width: 416
},
'SUBTITLES': 'subs'
},
endList: false,
mediaSequence: 7,
discontinuitySequence: 2,
timelineStarts: [
{ start: 111, timeline: 111}
],
discontinuityStarts: [0],
resolvedUri: 'http://example.com/video/A/',
segments: [
{
discontinuity: true,
duration: 1,
map: {
resolvedUri: 'http://example.com/video/A/A_init.mp4',
uri: 'A_init.mp4'
},
presentationTime: 111,
number: 7,
resolvedUri: 'http://example.com/video/A/A862.m4f',
timeline: 111,
uri: 'A862.m4f'
},
{
duration: 1,
map: {
resolvedUri: 'http://example.com/video/A/A_init.mp4',
uri: 'A_init.mp4'
},
presentationTime: 112,
number: 8,
resolvedUri: 'http://example.com/video/A/A863.m4f',
timeline: 111,
uri: 'A863.m4f'
},
{
duration: 1,
map: {
resolvedUri: 'http://example.com/video/A/A_init.mp4',
uri: 'A_init.mp4'
},
presentationTime: 113,
number: 9,
resolvedUri: 'http://example.com/video/A/A864.m4f',
timeline: 111,
uri: 'A864.m4f'
}
],
targetDuration: 1,
timeline: 111,
uri: ''
},
{
attributes: {
'AUDIO': 'audio',
'BANDWIDTH': 494354,
'CODECS': 'avc1.4d001e',
'FRAME-RATE': 30,
'NAME': 'B',
'PROGRAM-ID': 1,
'RESOLUTION': {
height: 360,
width: 640
},
'SUBTITLES': 'subs'
},
endList: false,
mediaSequence: 7,
discontinuitySequence: 2,
timelineStarts: [
{ start: 111, timeline: 111}
],
discontinuityStarts: [0],
resolvedUri: 'http://example.com/video/B/',
segments: [
{
discontinuity: true,
duration: 1,
map: {
resolvedUri: 'http://example.com/video/B/B_init.mp4',
uri: 'B_init.mp4'
},
presentationTime: 111,
number: 7,
resolvedUri: 'http://example.com/video/B/B862.m4f',
timeline: 111,
uri: 'B862.m4f'
},
{
duration: 1,
map: {
resolvedUri: 'http://example.com/video/B/B_init.mp4',
uri: 'B_init.mp4'
},
presentationTime: 112,
number: 8,
resolvedUri: 'http://example.com/video/B/B863.m4f',
timeline: 111,
uri: 'B863.m4f'
},
{
duration: 1,
map: {
resolvedUri: 'http://example.com/video/B/B_init.mp4',
uri: 'B_init.mp4'
},
presentationTime: 113,
number: 9,
resolvedUri: 'http://example.com/video/B/B864.m4f',
timeline: 111,
uri: 'B864.m4f'
}
],
targetDuration: 1,
timeline: 111,
uri: ''
},
{
attributes: {
'AUDIO': 'audio',
'BANDWIDTH': 1277155,
'CODECS': 'avc1.4d001f',
'FRAME-RATE': 30,
'NAME': 'C',
'PROGRAM-ID': 1,
'RESOLUTION': {
height: 540,
width: 960
},
'SUBTITLES': 'subs'
},
endList: false,
mediaSequence: 3,
discontinuitySequence: 2,
timelineStarts: [
{ start: 111, timeline: 111}
],
discontinuityStarts: [0],
resolvedUri: 'http://example.com/video/C/',
segments: [
{
discontinuity: true,
duration: 1,
map: {
resolvedUri: 'http://example.com/video/C/C_init.mp4',
uri: 'C_init.mp4'
},
presentationTime: 111,
number: 3,
resolvedUri: 'http://example.com/video/C/C862.m4f',
timeline: 111,
uri: 'C862.m4f'
},
{
duration: 1,
map: {
resolvedUri: 'http://example.com/video/C/C_init.mp4',
uri: 'C_init.mp4'
},
presentationTime: 112,
number: 4,
resolvedUri: 'http://example.com/video/C/C863.m4f',
timeline: 111,
uri: 'C863.m4f'
},
{
duration: 1,
map: {
resolvedUri: 'http://example.com/video/C/C_init.mp4',
uri: 'C_init.mp4'
},
presentationTime: 113,
number: 5,
resolvedUri: 'http://example.com/video/C/C864.m4f',
timeline: 111,
uri: 'C864.m4f'
}
],
targetDuration: 1,
timeline: 111,
uri: ''
}
],
segments: [],
suggestedPresentationDelay: 6,
uri: ''
};

View File

@ -0,0 +1,185 @@
<?xml version="1.0" encoding="UTF-8"?>
<MPD
xmlns:cenc="urn:mpeg:cenc:2013"
availabilityStartTime="2021-03-18T20:00:36Z"
maxSegmentDuration="PT2S"
minBufferTime="PT2S"
minimumUpdatePeriod="PT2S"
profiles="urn:mpeg:dash:profile:isoff-live:2011"
publishTime="2021-03-18T20:32:55Z"
suggestedPresentationDelay="PT6S"
timeShiftBufferDepth="PT180.000S"
type="dynamic"
xmlns="urn:mpeg:dash:schema:mpd:2011">
<Period id="111" start="PT111S">
<AdaptationSet
audioSamplingRate="48000"
contentType="audio"
group="1"
lang="en"
mimeType="audio/mp4"
segmentAlignment="true"
startWithSAP="1">
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main" />
<Representation
bandwidth="129262"
codecs="mp4a.40.5"
id="v0">
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2" />
<BaseURL>http://example.com/audio/v0/</BaseURL>
<SegmentTemplate
initialization="init.mp4"
media="$Number%03d$.m4f"
presentationTimeOffset="9989999"
startNumber="862"
timescale="90000">
<SegmentTimeline>
<S d="90000" r="2" t="9989999" />
</SegmentTimeline>
</SegmentTemplate>
</Representation>
</AdaptationSet>
<AdaptationSet
contentType="video"
id="1"
maxFrameRate="60.0"
maxHeight="720"
maxWidth="1280"
mimeType="video/mp4"
segmentAlignment="true"
startWithSAP="1">
<SupplementalProperty schemeIdUri="urn:mpeg:dash:adaptation-set-switching:2016" value="2" />
<Representation
bandwidth="2942295"
codecs="avc1.4d001f"
frameRate="30.0"
height="720"
id="D"
scanType="progressive"
width="1280">
<BaseURL>http://example.com/video/D/</BaseURL>
<SegmentTemplate
initialization="$RepresentationID$_init.mp4"
media="$RepresentationID$$Number%03d$.m4f"
presentationTimeOffset="9989999"
startNumber="862"
timescale="90000">
<SegmentTimeline>
<S d="90000" r="2" t="9989999" />
</SegmentTimeline>
</SegmentTemplate>
</Representation>
<Representation
bandwidth="4267536"
codecs="avc1.640020"
frameRate="60.0"
height="720"
id="E"
scanType="progressive"
width="1280">
<BaseURL>http://example.com/video/E/</BaseURL>
<SegmentTemplate
initialization="$RepresentationID$_init.mp4"
media="$RepresentationID$$Number%03d$.m4f"
presentationTimeOffset="9989999"
startNumber="862"
timescale="90000">
<SegmentTimeline>
<S d="90000" r="2" t="9989999" />
</SegmentTimeline>
</SegmentTemplate>
</Representation>
<Representation
bandwidth="5256859"
codecs="avc1.640020"
frameRate="60.0"
height="720"
id="F"
scanType="progressive"
width="1280">
<BaseURL>http://example.com/video/F/</BaseURL>
<SegmentTemplate
initialization="$RepresentationID$_init.mp4"
media="$RepresentationID$$Number%03d$.m4f"
presentationTimeOffset="9989999"
startNumber="862"
timescale="90000">
<SegmentTimeline>
<S d="90000" r="2" t="9989999" />
</SegmentTimeline>
</SegmentTemplate>
</Representation>
</AdaptationSet>
<AdaptationSet
contentType="video"
id="2"
maxFrameRate="30.0"
maxHeight="540"
maxWidth="960"
mimeType="video/mp4"
segmentAlignment="true"
startWithSAP="1">
<Representation
bandwidth="240781"
codecs="avc1.4d000d"
frameRate="30.0"
height="234"
id="A"
scanType="progressive"
width="416">
<BaseURL>http://example.com/video/A/</BaseURL>
<SegmentTemplate
initialization="$RepresentationID$_init.mp4"
media="$RepresentationID$$Number%03d$.m4f"
presentationTimeOffset="9989999"
startNumber="862"
timescale="90000">
<SegmentTimeline>
<S d="90000" r="2" t="9989999" />
</SegmentTimeline>
</SegmentTemplate>
</Representation>
<Representation
bandwidth="494354"
codecs="avc1.4d001e"
frameRate="30.0"
height="360"
id="B"
scanType="progressive"
width="640">
<BaseURL>http://example.com/video/B/</BaseURL>
<SegmentTemplate
initialization="$RepresentationID$_init.mp4"
media="$RepresentationID$$Number%03d$.m4f"
presentationTimeOffset="9989999"
startNumber="862"
timescale="90000">
<SegmentTimeline>
<S d="90000" r="2" t="9989999" />
</SegmentTimeline>
</SegmentTemplate>
</Representation>
<Representation
bandwidth="1277155"
codecs="avc1.4d001f"
frameRate="30.0"
height="540"
id="C"
scanType="progressive"
width="960">
<BaseURL>http://example.com/video/C/</BaseURL>
<SegmentTemplate
initialization="$RepresentationID$_init.mp4"
media="$RepresentationID$$Number%03d$.m4f"
presentationTimeOffset="9989999"
startNumber="862"
timescale="90000">
<SegmentTimeline>
<S d="90000" r="2" t="9989999" />
</SegmentTimeline>
</SegmentTemplate>
</Representation>
</AdaptationSet>
</Period>
<UTCTiming schemeIdUri="urn:mpeg:dash:utc:http-iso:2014" value="http://example.com//utcservertime" />
</MPD>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,647 @@
<?xml version="1.0" encoding="UTF-8"?>
<MPD
xmlns:cenc="urn:mpeg:cenc:2013"
availabilityStartTime="2021-03-18T20:00:36Z"
maxSegmentDuration="PT2S"
minBufferTime="PT2S"
minimumUpdatePeriod="PT2S"
profiles="urn:mpeg:dash:profile:isoff-live:2011"
publishTime="2021-03-18T20:32:55Z"
suggestedPresentationDelay="PT6S"
timeShiftBufferDepth="PT180.000S"
type="dynamic"
xmlns="urn:mpeg:dash:schema:mpd:2011">
<Period id="100" start="PT100S">
<AdaptationSet
audioSamplingRate="48000"
contentType="audio"
group="1"
lang="en"
mimeType="audio/mp4"
segmentAlignment="true"
startWithSAP="1">
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main" />
<Representation bandwidth="129262" codecs="mp4a.40.5" id="v0">
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2" />
<BaseURL>http://example.com/audio/1</BaseURL>
<SegmentTemplate
initialization="init.mp4"
media="$Number%03d$.m4f"
presentationTimeOffset="9000000"
startNumber="500"
timescale="90000">
<SegmentTimeline>
<S d="90000" r="2" t="9000000" />
</SegmentTimeline>
</SegmentTemplate>
</Representation>
</AdaptationSet>
<AdaptationSet
contentType="video"
id="1"
maxFrameRate="60.0"
maxHeight="720"
maxWidth="1280"
mimeType="video/mp4"
segmentAlignment="true"
startWithSAP="1">
<Representation
bandwidth="2942295"
codecs="avc1.4d001f"
frameRate="30.0"
height="720"
id="D"
scanType="progressive"
width="1280">
<BaseURL>http://example.com/video/D/</BaseURL>
<SegmentTemplate
initialization="$RepresentationID$_init.mp4"
media="$RepresentationID$$Number%03d$.m4f"
presentationTimeOffset="9000000"
startNumber="500"
timescale="90000">
<SegmentTimeline>
<S d="90000" r="2" t="9000000" />
</SegmentTimeline>
</SegmentTemplate>
</Representation>
<Representation
bandwidth="4267536"
codecs="avc1.640020"
frameRate="60.0"
height="720"
id="E"
scanType="progressive"
width="1280">
<BaseURL>http://example.com/video/E/</BaseURL>
<SegmentTemplate
initialization="$RepresentationID$_init.mp4"
media="$RepresentationID$$Number%03d$.m4f"
presentationTimeOffset="9000000"
startNumber="500"
timescale="90000">
<SegmentTimeline>
<S d="90000" r="2" t="9000000" />
</SegmentTimeline>
</SegmentTemplate>
</Representation>
<Representation
bandwidth="5256859"
codecs="avc1.640020"
frameRate="60.0"
height="720"
id="F"
scanType="progressive"
width="1280">
<BaseURL>http://example.com/video/E/</BaseURL>
<SegmentTemplate
initialization="$RepresentationID$_init.mp4"
media="$RepresentationID$$Number%03d$.m4f"
presentationTimeOffset="9000000"
startNumber="500"
timescale="90000">
<SegmentTimeline>
<S d="90000" r="2" t="9000000" />
</SegmentTimeline>
</SegmentTemplate>
</Representation>
</AdaptationSet>
<AdaptationSet
contentType="video"
id="2"
maxFrameRate="30.0"
maxHeight="540"
maxWidth="960"
mimeType="video/mp4"
segmentAlignment="true"
startWithSAP="1">
<Representation
bandwidth="240781"
codecs="avc1.4d000d"
frameRate="30.0"
height="234"
id="A"
scanType="progressive"
width="416">
<BaseURL>http://example.com/video/A/</BaseURL>
<SegmentTemplate
initialization="$RepresentationID$_init.mp4"
media="$RepresentationID$$Number%03d$.m4f"
presentationTimeOffset="9000000"
startNumber="500"
timescale="90000">
<SegmentTimeline>
<S d="90000" r="2" t="9000000" />
</SegmentTimeline>
</SegmentTemplate>
</Representation>
<Representation
bandwidth="494354"
codecs="avc1.4d001e"
frameRate="30.0"
height="360"
id="B"
scanType="progressive"
width="640">
<BaseURL>http://example.com/video/B/</BaseURL>
<SegmentTemplate
initialization="$RepresentationID$_init.mp4"
media="$RepresentationID$$Number%03d$.m4f"
presentationTimeOffset="9000000"
startNumber="500"
timescale="90000">
<SegmentTimeline>
<S d="90000" r="2" t="9000000" />
</SegmentTimeline>
</SegmentTemplate>
</Representation>
<Representation
bandwidth="1277155"
codecs="avc1.4d001e"
frameRate="30.0"
height="540"
id="C"
scanType="progressive"
width="960">
<BaseURL>http://example.com/video/E/</BaseURL>
<SegmentTemplate
initialization="$RepresentationID$_init.mp4"
media="$RepresentationID$$Number%03d$.m4f"
presentationTimeOffset="9000000"
startNumber="500"
timescale="90000">
<SegmentTimeline>
<S d="90000" r="2" t="9000000" />
</SegmentTimeline>
</SegmentTemplate>
</Representation>
</AdaptationSet>
</Period>
<Period id="103" start="PT103S">
<AdaptationSet
audioSamplingRate="48000"
contentType="audio"
group="1"
lang="en"
mimeType="audio/mp4"
segmentAlignment="true"
startWithSAP="1">
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main" />
<Representation
bandwidth="128352"
codecs="mp4a.40.5"
id="v0">
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2" />
<BaseURL>http://example.com/audio/v0/</BaseURL>
<SegmentTemplate
initialization="init.mp4"
media="$Number%03d$.m4f"
startNumber="0"
timescale="90000">
<SegmentTimeline>
<S d="180000" r="1" t="0" />
</SegmentTimeline>
</SegmentTemplate>
</Representation>
</AdaptationSet>
<AdaptationSet
contentType="video"
mimeType="video/mp4"
segmentAlignment="true"
startWithSAP="1">
<Representation
bandwidth="2723305"
codecs="avc1.4d001f"
frameRate="30.0"
height="720"
id="D"
scanType="progressive"
width="1280">
<BaseURL>http://example.com/video/D/</BaseURL>
<SegmentTemplate
initialization="$RepresentationID$_init.mp4"
media="$RepresentationID$$Number%03d$.m4f"
startNumber="0"
timescale="90000">
<SegmentTimeline>
<S d="180000" r="1" t="0" />
</SegmentTimeline>
</SegmentTemplate>
</Representation>
<Representation
bandwidth="2062244"
codecs="avc1.640020"
frameRate="60.0"
height="720"
id="E"
scanType="progressive"
width="1280">
<BaseURL>http://example.com/video/E/</BaseURL>
<SegmentTemplate
initialization="$RepresentationID$_init.mp4"
media="$RepresentationID$$Number%03d$.m4f"
startNumber="0"
timescale="90000">
<SegmentTimeline>
<S d="180000" r="1" t="0" />
</SegmentTimeline>
</SegmentTemplate>
</Representation>
<Representation
bandwidth="2215557"
codecs="avc1.640020"
frameRate="60.0"
height="720"
id="F"
scanType="progressive"
width="1280">
<BaseURL>http://example.com/video/F/</BaseURL>
<SegmentTemplate
initialization="$RepresentationID$_init.mp4"
media="$RepresentationID$$Number%03d$.m4f"
startNumber="0"
timescale="90000">
<SegmentTimeline>
<S d="180000" r="1" t="0" />
</SegmentTimeline>
</SegmentTemplate>
</Representation>
<Representation
bandwidth="200480"
codecs="avc1.4d000d"
frameRate="30.0"
height="234"
id="A"
scanType="progressive"
width="416">
<BaseURL>http://example.com/video/A/</BaseURL>
<SegmentTemplate
initialization="$RepresentationID$_init.mp4"
media="$RepresentationID$$Number%03d$.m4f"
startNumber="0"
timescale="90000">
<SegmentTimeline>
<S d="180000" r="1" t="0" />
</SegmentTimeline>
</SegmentTemplate>
</Representation>
<Representation
bandwidth="411478"
codecs="avc1.4d001e"
frameRate="30.0"
height="360"
id="B"
scanType="progressive"
width="640">
<BaseURL>http://example.com/video/B/</BaseURL>
<SegmentTemplate
initialization="$RepresentationID$_init.mp4"
media="$RepresentationID$$Number%03d$.m4f"
startNumber="0"
timescale="90000">
<SegmentTimeline>
<S d="180000" r="1" t="0" />
</SegmentTimeline>
</SegmentTemplate>
</Representation>
<Representation
bandwidth="1048480"
codecs="avc1.4d001f"
frameRate="30.0"
height="540"
id="C"
scanType="progressive"
width="960">
<BaseURL>http://example.com/video/C/</BaseURL>
<SegmentTemplate
initialization="$RepresentationID$_init.mp4"
media="$RepresentationID$$Number%03d$.m4f"
startNumber="0"
timescale="90000">
<SegmentTimeline>
<S d="180000" r="1" t="0" />
</SegmentTimeline>
</SegmentTemplate>
</Representation>
</AdaptationSet>
</Period>
<Period id="107" start="PT107S">
<AdaptationSet
audioSamplingRate="48000"
contentType="audio"
group="1"
lang="en"
mimeType="audio/mp4"
segmentAlignment="true"
startWithSAP="1">
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main" />
<Representation
bandwidth="128352"
codecs="mp4a.40.5"
id="v0">
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2" />
<BaseURL>http://example.com/audio/v0/</BaseURL>
<SegmentTemplate
initialization="init.mp4"
media="$Number%03d$.m4f"
startNumber="0"
timescale="90000">
<SegmentTimeline>
<S d="180000" r="1" t="0" />
</SegmentTimeline>
</SegmentTemplate>
</Representation>
</AdaptationSet>
<AdaptationSet
contentType="video"
mimeType="video/mp4"
segmentAlignment="true"
startWithSAP="1">
<Representation
bandwidth="2723305"
codecs="avc1.4d001f"
frameRate="30.0"
height="720"
id="D"
scanType="progressive"
width="1280">
<BaseURL>http://example.com/video/D/</BaseURL>
<SegmentTemplate
initialization="$RepresentationID$_init.mp4"
media="$RepresentationID$$Number%03d$.m4f"
startNumber="0"
timescale="90000">
<SegmentTimeline>
<S d="180000" r="1" t="0" />
</SegmentTimeline>
</SegmentTemplate>
</Representation>
<Representation
bandwidth="2062244"
codecs="avc1.640020"
frameRate="60.0"
height="720"
id="E"
scanType="progressive"
width="1280">
<BaseURL>http://example.com/video/E/</BaseURL>
<SegmentTemplate
initialization="$RepresentationID$_init.mp4"
media="$RepresentationID$$Number%03d$.m4f"
startNumber="0"
timescale="90000">
<SegmentTimeline>
<S d="180000" r="1" t="0" />
</SegmentTimeline>
</SegmentTemplate>
</Representation>
<Representation
bandwidth="2215557"
codecs="avc1.640020"
frameRate="60.0"
height="720"
id="F"
scanType="progressive"
width="1280">
<BaseURL>http://example.com/video/F/</BaseURL>
<SegmentTemplate
initialization="$RepresentationID$_init.mp4"
media="$RepresentationID$$Number%03d$.m4f"
startNumber="0"
timescale="90000">
<SegmentTimeline>
<S d="90000" r="1" t="0" />
</SegmentTimeline>
</SegmentTemplate>
</Representation>
<Representation
bandwidth="200480"
codecs="avc1.4d000d"
frameRate="30.0"
height="234"
id="A"
scanType="progressive"
width="416">
<BaseURL>http://example.com/video/A/</BaseURL>
<SegmentTemplate
initialization="$RepresentationID$_init.mp4"
media="$RepresentationID$$Number%03d$.m4f"
startNumber="0"
timescale="90000">
<SegmentTimeline>
<S d="180000" r="1" t="0" />
</SegmentTimeline>
</SegmentTemplate>
</Representation>
<Representation
bandwidth="411478"
codecs="avc1.4d001e"
frameRate="30.0"
height="360"
id="B"
scanType="progressive"
width="640">
<BaseURL>http://example.com/video/B/</BaseURL>
<SegmentTemplate
initialization="$RepresentationID$_init.mp4"
media="$RepresentationID$$Number%03d$.m4f"
startNumber="0"
timescale="90000">
<SegmentTimeline>
<S d="180000" r="1" t="0" />
</SegmentTimeline>
</SegmentTemplate>
</Representation>
<Representation
bandwidth="1048480"
codecs="avc1.4d001f"
frameRate="30.0"
height="540"
id="C"
scanType="progressive"
width="960">
<BaseURL>http://example.com/video/C/</BaseURL>
<SegmentTemplate
initialization="$RepresentationID$_init.mp4"
media="$RepresentationID$$Number%03d$.m4f"
startNumber="0"
timescale="90000">
<SegmentTimeline>
<S d="180000" r="1" t="0" />
</SegmentTimeline>
</SegmentTemplate>
</Representation>
</AdaptationSet>
</Period>
<Period id="111" start="PT111S">
<AdaptationSet
audioSamplingRate="48000"
contentType="audio"
group="1"
lang="en"
mimeType="audio/mp4"
segmentAlignment="true"
startWithSAP="1">
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main" />
<Representation
bandwidth="129262"
codecs="mp4a.40.5"
id="v0">
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2" />
<BaseURL>http://example.com/audio/v0/</BaseURL>
<SegmentTemplate
initialization="init.mp4"
media="$Number%03d$.m4f"
presentationTimeOffset="9989999"
startNumber="862"
timescale="90000">
<SegmentTimeline>
<S d="90000" r="2" t="9989999" />
</SegmentTimeline>
</SegmentTemplate>
</Representation>
</AdaptationSet>
<AdaptationSet
contentType="video"
id="1"
maxFrameRate="60.0"
maxHeight="720"
maxWidth="1280"
mimeType="video/mp4"
segmentAlignment="true"
startWithSAP="1">
<SupplementalProperty schemeIdUri="urn:mpeg:dash:adaptation-set-switching:2016" value="2" />
<Representation
bandwidth="2942295"
codecs="avc1.4d001f"
frameRate="30.0"
height="720"
id="D"
scanType="progressive"
width="1280">
<BaseURL>http://example.com/video/D/</BaseURL>
<SegmentTemplate
initialization="$RepresentationID$_init.mp4"
media="$RepresentationID$$Number%03d$.m4f"
presentationTimeOffset="9989999"
startNumber="862"
timescale="90000">
<SegmentTimeline>
<S d="90000" r="2" t="9989999" />
</SegmentTimeline>
</SegmentTemplate>
</Representation>
<Representation
bandwidth="4267536"
codecs="avc1.640020"
frameRate="60.0"
height="720"
id="E"
scanType="progressive"
width="1280">
<BaseURL>http://example.com/video/E/</BaseURL>
<SegmentTemplate
initialization="$RepresentationID$_init.mp4"
media="$RepresentationID$$Number%03d$.m4f"
presentationTimeOffset="9989999"
startNumber="862"
timescale="90000">
<SegmentTimeline>
<S d="90000" r="2" t="9989999" />
</SegmentTimeline>
</SegmentTemplate>
</Representation>
<Representation
bandwidth="5256859"
codecs="avc1.640020"
frameRate="60.0"
height="720"
id="F"
scanType="progressive"
width="1280">
<BaseURL>http://example.com/video/F/</BaseURL>
<SegmentTemplate
initialization="$RepresentationID$_init.mp4"
media="$RepresentationID$$Number%03d$.m4f"
presentationTimeOffset="9989999"
startNumber="862"
timescale="90000">
<SegmentTimeline>
<S d="90000" r="2" t="9989999" />
</SegmentTimeline>
</SegmentTemplate>
</Representation>
</AdaptationSet>
<AdaptationSet
contentType="video"
id="2"
maxFrameRate="30.0"
maxHeight="540"
maxWidth="960"
mimeType="video/mp4"
segmentAlignment="true"
startWithSAP="1">
<Representation
bandwidth="240781"
codecs="avc1.4d000d"
frameRate="30.0"
height="234"
id="A"
scanType="progressive"
width="416">
<BaseURL>http://example.com/video/A/</BaseURL>
<SegmentTemplate
initialization="$RepresentationID$_init.mp4"
media="$RepresentationID$$Number%03d$.m4f"
presentationTimeOffset="9989999"
startNumber="862"
timescale="90000">
<SegmentTimeline>
<S d="90000" r="2" t="9989999" />
</SegmentTimeline>
</SegmentTemplate>
</Representation>
<Representation
bandwidth="494354"
codecs="avc1.4d001e"
frameRate="30.0"
height="360"
id="B"
scanType="progressive"
width="640">
<BaseURL>http://example.com/video/B/</BaseURL>
<SegmentTemplate
initialization="$RepresentationID$_init.mp4"
media="$RepresentationID$$Number%03d$.m4f"
presentationTimeOffset="9989999"
startNumber="862"
timescale="90000">
<SegmentTimeline>
<S d="90000" r="2" t="9989999" />
</SegmentTimeline>
</SegmentTemplate>
</Representation>
<Representation
bandwidth="1277155"
codecs="avc1.4d001f"
frameRate="30.0"
height="540"
id="C"
scanType="progressive"
width="960">
<BaseURL>http://example.com/video/C/</BaseURL>
<SegmentTemplate
initialization="$RepresentationID$_init.mp4"
media="$RepresentationID$$Number%03d$.m4f"
presentationTimeOffset="9989999"
startNumber="862"
timescale="90000">
<SegmentTimeline>
<S d="90000" r="2" t="9989999" />
</SegmentTimeline>
</SegmentTemplate>
</Representation>
</AdaptationSet>
</Period>
<UTCTiming schemeIdUri="urn:mpeg:dash:utc:http-iso:2014" value="http://example.com//utcservertime" />
</MPD>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,143 @@
<?xml version="1.0" encoding="UTF-8"?>
<MPD xmlns="urn:mpeg:dash:schema:mpd:2011" xmlns:cenc="urn:mpeg:cenc:2013" profiles="urn:mpeg:dash:profile:isoff-live:2011" type="static" mediaPresentationDuration="PT36.269S" minBufferTime="PT2.000S">
<Period id="0" duration="PT5.972633333S">
<AdaptationSet mimeType="audio/mp4" segmentAlignment="true" startWithSAP="1" lang="en">
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
<SegmentTemplate initialization="https://example.com/$RepresentationID$/init0.m4f" media="https://example.com/$RepresentationID$/segment$Number$.m4f" startNumber="0" timescale="44100">
<SegmentTimeline>
<S d="88064" r="2"></S>
</SegmentTimeline>
</SegmentTemplate>
<Representation audioSamplingRate="44100" bandwidth="123000" codecs="mp4a.40.2" id="default_audio128_2"></Representation>
<Representation audioSamplingRate="44100" bandwidth="93000" codecs="mp4a.40.2" id="default_audio96_2"></Representation>
</AdaptationSet>
<AdaptationSet mimeType="video/mp4" scanType="progressive" segmentAlignment="true" startWithSAP="1">
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
<SegmentTemplate initialization="https://example.com/$RepresentationID$/init0.m4f" media="https://example.com/$RepresentationID$/segment$Number$.m4f" startNumber="0" timescale="30000">
<SegmentTimeline>
<S d="60060" r="1"></S>
<S d="59059"></S>
</SegmentTimeline>
</SegmentTemplate>
<Representation bandwidth="2008000" codecs="avc1.4d001f" frameRate="2997/100" height="720" id="default_video2000_0_1280x720" width="1280"></Representation>
<Representation bandwidth="1195000" codecs="avc1.4d001f" frameRate="2997/100" height="540" id="default_video1200_1_960x540" width="960"></Representation>
<Representation bandwidth="884000" codecs="avc1.4d001e" frameRate="2997/100" height="360" id="default_video900_1_640x360" width="640"></Representation>
</AdaptationSet>
</Period>
<Period id="1" duration="PT4.838166665S">
<AdaptationSet mimeType="audio/mp4" segmentAlignment="true" startWithSAP="1" lang="en">
<ContentProtection value="cenc" schemeIdUri="urn:mpeg:dash:mp4protection:2011" cenc:default_KID="aaa"/>
<ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed">
<cenc:pssh>test</cenc:pssh>
</ContentProtection>
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
<SegmentTemplate initialization="https://example.com/$RepresentationID$/init1.m4f" media="https://example.com/$RepresentationID$/segment$Number$.m4f" startNumber="3" timescale="44100">
<SegmentTimeline>
<S d="88064" r="1"></S>
<S d="37888"></S>
</SegmentTimeline>
</SegmentTemplate>
<Representation audioSamplingRate="44100" bandwidth="123000" codecs="mp4a.40.2" id="default_audio128_2"></Representation>
<Representation audioSamplingRate="44100" bandwidth="93000" codecs="mp4a.40.2" id="default_audio96_2"></Representation>
</AdaptationSet>
<AdaptationSet mimeType="video/mp4" scanType="progressive" segmentAlignment="true" startWithSAP="1">
<ContentProtection value="cenc" schemeIdUri="urn:mpeg:dash:mp4protection:2011" cenc:default_KID="aaa"/>
<ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed">
<cenc:pssh>test</cenc:pssh>
</ContentProtection>
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
<SegmentTemplate initialization="https://example.com/$RepresentationID$/init1.m4f" media="https://example.com/$RepresentationID$/segment$Number$.m4f" startNumber="3" timescale="30000">
<SegmentTimeline>
<S d="58058" r="1"></S>
<S d="29029"></S>
</SegmentTimeline>
</SegmentTemplate>
<Representation bandwidth="2008000" codecs="avc1.4d001f" frameRate="2997/100" height="720" id="default_video2000_0_1280x720" width="1280"></Representation>
<Representation bandwidth="1195000" codecs="avc1.4d001f" frameRate="2997/100" height="540" id="default_video1200_1_960x540" width="960"></Representation>
<Representation bandwidth="884000" codecs="avc1.4d001e" frameRate="2997/100" height="360" id="default_video900_1_640x360" width="640"></Representation>
</AdaptationSet>
</Period>
<Period id="2" duration="PT13.980633333S">
<AdaptationSet mimeType="audio/mp4" segmentAlignment="true" startWithSAP="1" lang="en">
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
<SegmentTemplate initialization="https://example.com/$RepresentationID$/init2.m4f" media="https://example.com/$RepresentationID$/segment$Number$.m4f" startNumber="6" timescale="44100">
<SegmentTimeline>
<S d="88064" r="6"></S>
<S d="1024"></S>
</SegmentTimeline>
</SegmentTemplate>
<Representation audioSamplingRate="44100" bandwidth="123000" codecs="mp4a.40.2" id="default_audio128_2"></Representation>
<Representation audioSamplingRate="44100" bandwidth="93000" codecs="mp4a.40.2" id="default_audio96_2"></Representation>
</AdaptationSet>
<AdaptationSet mimeType="video/mp4" scanType="progressive" segmentAlignment="true" startWithSAP="1">
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
<SegmentTemplate initialization="https://example.com/$RepresentationID$/init2.m4f" media="https://example.com/$RepresentationID$/segment$Number$.m4f" startNumber="6" timescale="30000">
<SegmentTimeline>
<S d="60060" r="5"></S>
<S d="59059"></S>
</SegmentTimeline>
</SegmentTemplate>
<Representation bandwidth="2008000" codecs="avc1.4d001f" frameRate="2997/100" height="720" id="default_video2000_0_1280x720" width="1280"></Representation>
<Representation bandwidth="1195000" codecs="avc1.4d001f" frameRate="2997/100" height="540" id="default_video1200_1_960x540" width="960"></Representation>
<Representation bandwidth="884000" codecs="avc1.4d001e" frameRate="2997/100" height="360" id="default_video900_1_640x360" width="640"></Representation>
</AdaptationSet>
</Period>
<Period id="3" duration="PT3.157913831S">
<AdaptationSet mimeType="audio/mp4" segmentAlignment="true" startWithSAP="1" lang="en">
<ContentProtection value="cenc" schemeIdUri="urn:mpeg:dash:mp4protection:2011" cenc:default_KID="aaa"/>
<ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed">
<cenc:pssh>test</cenc:pssh>
</ContentProtection>
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
<SegmentTemplate presentationTimeOffset="214016" initialization="https://example.com/$RepresentationID$/init3.m4f" media="https://example.com/$RepresentationID$/segment$Number$.m4f" startNumber="14" timescale="44100">
<SegmentTimeline>
<S d="51200"></S>
<S d="88064"></S>
</SegmentTimeline>
</SegmentTemplate>
<Representation audioSamplingRate="44100" bandwidth="123000" codecs="mp4a.40.2" id="default_audio128_2"></Representation>
<Representation audioSamplingRate="44100" bandwidth="93000" codecs="mp4a.40.2" id="default_audio96_2"></Representation>
</AdaptationSet>
<AdaptationSet mimeType="video/mp4" scanType="progressive" segmentAlignment="true" startWithSAP="1">
<ContentProtection value="cenc" schemeIdUri="urn:mpeg:dash:mp4protection:2011" cenc:default_KID="aaa"/>
<ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed">
<cenc:pssh>test</cenc:pssh>
</ContentProtection>
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
<SegmentTemplate presentationTimeOffset="145145" initialization="https://example.com/$RepresentationID$/init3.m4f" media="https://example.com/$RepresentationID$/segment$Number$.m4f" startNumber="13" timescale="30000">
<SegmentTimeline>
<S d="29029"></S>
<S d="58058"></S>
<S d="8008"></S>
</SegmentTimeline>
</SegmentTemplate>
<Representation bandwidth="2008000" codecs="avc1.4d001f" frameRate="2997/100" height="720" id="default_video2000_0_1280x720" width="1280"></Representation>
<Representation bandwidth="1195000" codecs="avc1.4d001f" frameRate="2997/100" height="540" id="default_video1200_1_960x540" width="960"></Representation>
<Representation bandwidth="884000" codecs="avc1.4d001e" frameRate="2997/100" height="360" id="default_video900_1_640x360" width="640"></Representation>
</AdaptationSet>
</Period>
<Period id="4" duration="PT7.987664396S">
<AdaptationSet mimeType="audio/mp4" segmentAlignment="true" startWithSAP="1" lang="en">
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
<SegmentTemplate initialization="https://example.com/$RepresentationID$/segment$Number$.m4f" media="https://example.com/$RepresentationID$/segment$Number$.m4f" startNumber="16" timescale="44100">
<SegmentTimeline>
<S d="88064" r="3"></S>
</SegmentTimeline>
</SegmentTemplate>
<Representation audioSamplingRate="44100" bandwidth="123000" codecs="mp4a.40.2" id="default_audio128_2"></Representation>
<Representation audioSamplingRate="44100" bandwidth="93000" codecs="mp4a.40.2" id="default_audio96_2"></Representation>
</AdaptationSet>
<AdaptationSet mimeType="video/mp4" scanType="progressive" segmentAlignment="true" startWithSAP="1">
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
<SegmentTemplate initialization="https://example.com/$RepresentationID$/segment$Number$.m4f" media="https://example.com/$RepresentationID$/segment$Number$.m4f" startNumber="16" timescale="30000">
<SegmentTimeline>
<S d="60060" r="2"></S>
<S d="59059"></S>
</SegmentTimeline>
</SegmentTemplate>
<Representation bandwidth="2008000" codecs="avc1.4d001f" frameRate="2997/100" height="720" id="default_video2000_0_1280x720" width="1280"></Representation>
<Representation bandwidth="1195000" codecs="avc1.4d001f" frameRate="2997/100" height="540" id="default_video1200_1_960x540" width="960"></Representation>
<Representation bandwidth="884000" codecs="avc1.4d001e" frameRate="2997/100" height="360" id="default_video900_1_640x360" width="640"></Representation>
</AdaptationSet>
</Period>
</MPD>

View File

@ -0,0 +1,55 @@
export const parsedManifest = {
allowCache: true,
discontinuityStarts: [],
duration: 6,
endList: true,
mediaGroups: {
'AUDIO': {},
'CLOSED-CAPTIONS': {},
'SUBTITLES': {},
'VIDEO': {}
},
playlists: [
{
attributes: {
'AUDIO': 'audio',
'BANDWIDTH': 449000,
'CODECS': 'avc1.420015',
'FRAME-RATE': 23.976,
'NAME': '482',
'PROGRAM-ID': 1,
'RESOLUTION': {
height: 270,
width: 482
},
'SUBTITLES': 'subs'
},
endList: true,
resolvedUri: 'https://www.example.com/1080p.ts',
targetDuration: 6,
mediaSequence: 0,
segments: [
{
duration: 6,
timeline: 0,
number: 0,
presentationTime: 0,
map: {
uri: '',
resolvedUri: 'https://www.example.com/1080p.ts'
},
resolvedUri: 'https://www.example.com/1080p.ts',
uri: 'https://www.example.com/1080p.ts'
}
],
timeline: 0,
timelineStarts: [{ start: 0, timeline: 0 }],
discontinuitySequence: 0,
discontinuityStarts: [],
uri: ''
}
],
segments: [],
timelineStarts: [{ start: 0, timeline: 0 }],
uri: ''
};

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<MPD xmlns="urn:mpeg:dash:schema:mpd:2011" profiles="urn:mpeg:dash:profile:isoff-live:2011" type="static" mediaPresentationDuration="PT6S" minBufferTime="PT2.000S">
<BaseURL>https://www.example.com/base</BaseURL>
<Period>
<AdaptationSet mimeType="video/mp4" scanType="progressive" segmentAlignment="true" startWithSAP="1">
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
<Representation bandwidth="449000" codecs="avc1.420015" frameRate="2997/125" height="270" id="482" width="482" >
<SegmentBase></SegmentBase>
</Representation>
<BaseURL>1080p.ts</BaseURL>
<SegmentBase>
<RepresentationIndex sourceURL="1080p.sidx"/>
</SegmentBase>
</AdaptationSet>
</Period>
</MPD>

View File

@ -0,0 +1,261 @@
export const parsedManifest = {
allowCache: true,
discontinuityStarts: [],
duration: 6,
endList: true,
mediaGroups: {
'AUDIO': {},
'CLOSED-CAPTIONS': {},
'SUBTITLES': {},
'VIDEO': {}
},
playlists: [
{
attributes: {
'AUDIO': 'audio',
'BANDWIDTH': 449000,
'CODECS': 'avc1.420015',
'FRAME-RATE': 23.976,
'NAME': '482',
'PROGRAM-ID': 1,
'RESOLUTION': {
height: 270,
width: 482
},
'SUBTITLES': 'subs'
},
endList: true,
mediaSequence: 0,
targetDuration: 1,
resolvedUri: 'https://www.example.com/base',
segments: [
{
duration: 1,
map: {
uri: '',
resolvedUri: 'https://www.example.com/base'
},
resolvedUri: 'https://www.example.com/low/segment-1.ts',
timeline: 0,
presentationTime: 0,
uri: 'low/segment-1.ts',
number: 0
},
{
duration: 1,
map: {
uri: '',
resolvedUri: 'https://www.example.com/base'
},
resolvedUri: 'https://www.example.com/low/segment-2.ts',
timeline: 0,
presentationTime: 1,
uri: 'low/segment-2.ts',
number: 1
},
{
duration: 1,
map: {
uri: '',
resolvedUri: 'https://www.example.com/base'
},
resolvedUri: 'https://www.example.com/low/segment-3.ts',
timeline: 0,
presentationTime: 2,
uri: 'low/segment-3.ts',
number: 2
},
{
duration: 1,
map: {
uri: '',
resolvedUri: 'https://www.example.com/base'
},
resolvedUri: 'https://www.example.com/low/segment-4.ts',
timeline: 0,
presentationTime: 3,
uri: 'low/segment-4.ts',
number: 3
},
{
duration: 1,
map: {
uri: '',
resolvedUri: 'https://www.example.com/base'
},
resolvedUri: 'https://www.example.com/low/segment-5.ts',
timeline: 0,
presentationTime: 4,
uri: 'low/segment-5.ts',
number: 4
},
{
duration: 1,
map: {
uri: '',
resolvedUri: 'https://www.example.com/base'
},
resolvedUri: 'https://www.example.com/low/segment-6.ts',
timeline: 0,
presentationTime: 5,
uri: 'low/segment-6.ts',
number: 5
}
],
timeline: 0,
timelineStarts: [{ start: 0, timeline: 0 }],
discontinuitySequence: 0,
discontinuityStarts: [],
uri: ''
},
{
attributes: {
'AUDIO': 'audio',
'BANDWIDTH': 3971000,
'CODECS': 'avc1.420015',
'FRAME-RATE': 23.976,
'NAME': '720',
'PROGRAM-ID': 1,
'RESOLUTION': {
height: 404,
width: 720
},
'SUBTITLES': 'subs'
},
endList: true,
resolvedUri: 'https://www.example.com/base',
mediaSequence: 0,
targetDuration: 60,
segments: [
{
duration: 60,
map: {
uri: '',
resolvedUri: 'https://www.example.com/base'
},
resolvedUri: 'https://www.example.com/high/segment-1.ts',
timeline: 0,
presentationTime: 0,
uri: 'high/segment-1.ts',
number: 0
},
{
duration: 60,
map: {
uri: '',
resolvedUri: 'https://www.example.com/base'
},
resolvedUri: 'https://www.example.com/high/segment-2.ts',
timeline: 0,
presentationTime: 60,
uri: 'high/segment-2.ts',
number: 1
},
{
duration: 60,
map: {
uri: '',
resolvedUri: 'https://www.example.com/base'
},
resolvedUri: 'https://www.example.com/high/segment-3.ts',
timeline: 0,
presentationTime: 120,
uri: 'high/segment-3.ts',
number: 2
},
{
duration: 60,
map: {
uri: '',
resolvedUri: 'https://www.example.com/base'
},
resolvedUri: 'https://www.example.com/high/segment-4.ts',
timeline: 0,
presentationTime: 180,
uri: 'high/segment-4.ts',
number: 3
},
{
duration: 60,
map: {
uri: '',
resolvedUri: 'https://www.example.com/base'
},
resolvedUri: 'https://www.example.com/high/segment-5.ts',
timeline: 0,
presentationTime: 240,
uri: 'high/segment-5.ts',
number: 4
},
{
duration: 60,
map: {
uri: '',
resolvedUri: 'https://www.example.com/base'
},
resolvedUri: 'https://www.example.com/high/segment-6.ts',
timeline: 0,
presentationTime: 300,
uri: 'high/segment-6.ts',
number: 5
},
{
duration: 60,
map: {
uri: '',
resolvedUri: 'https://www.example.com/base'
},
resolvedUri: 'https://www.example.com/high/segment-7.ts',
timeline: 0,
presentationTime: 360,
uri: 'high/segment-7.ts',
number: 6
},
{
duration: 60,
map: {
uri: '',
resolvedUri: 'https://www.example.com/base'
},
resolvedUri: 'https://www.example.com/high/segment-8.ts',
timeline: 0,
presentationTime: 420,
uri: 'high/segment-8.ts',
number: 7
},
{
duration: 60,
map: {
uri: '',
resolvedUri: 'https://www.example.com/base'
},
resolvedUri: 'https://www.example.com/high/segment-9.ts',
timeline: 0,
presentationTime: 480,
uri: 'high/segment-9.ts',
number: 8
},
{
duration: 60,
map: {
uri: '',
resolvedUri: 'https://www.example.com/base'
},
resolvedUri: 'https://www.example.com/high/segment-10.ts',
timeline: 0,
presentationTime: 540,
uri: 'high/segment-10.ts',
number: 9
}
],
timeline: 0,
timelineStarts: [{ start: 0, timeline: 0 }],
discontinuitySequence: 0,
discontinuityStarts: [],
uri: ''
}
],
segments: [],
timelineStarts: [{ start: 0, timeline: 0 }],
uri: ''
};

View File

@ -0,0 +1,47 @@
<?xml version="1.0" encoding="UTF-8"?>
<MPD xmlns="urn:mpeg:dash:schema:mpd:2011" profiles="urn:mpeg:dash:profile:isoff-live:2011" type="static" mediaPresentationDuration="PT6S" minBufferTime="PT2.000S">
<BaseURL>https://www.example.com/base</BaseURL>
<Period>
<AdaptationSet mimeType="video/mp4" scanType="progressive" segmentAlignment="true" startWithSAP="1">
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
<Representation bandwidth="449000" codecs="avc1.420015" frameRate="2997/125" height="270" id="482" width="482" >
</Representation>
<SegmentList timescale="1000" duration="1000">
<RepresentationIndex sourceURL="representation-index-low"/>
<SegmentURL media="low/segment-1.ts"/>
<SegmentURL media="low/segment-2.ts"/>
<SegmentURL media="low/segment-3.ts"/>
<SegmentURL media="low/segment-4.ts"/>
<SegmentURL media="low/segment-5.ts"/>
<SegmentURL media="low/segment-6.ts"/>
<SegmentURL media="low/segment-7.ts"/>
<SegmentURL media="low/segment-8.ts"/>
<SegmentURL media="low/segment-9.ts"/>
<SegmentURL media="low/segment-10.ts"/>
</SegmentList>
</AdaptationSet>
<AdaptationSet mimeType="video/mp4" scanType="progressive" segmentAlignment="true" startWithSAP="1">
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
<Representation bandwidth="3971000" codecs="avc1.420015" frameRate="2997/125" height="404" id="720" width="720" >
<SegmentList timescale="90000">
<RepresentationIndex sourceURL="representation-index-high"/>
<SegmentTimeline>
<S t="0" r="9" d="5400000"/>
</SegmentTimeline>
<SegmentURL media="high/segment-1.ts"/>
<SegmentURL media="high/segment-2.ts"/>
<SegmentURL media="high/segment-3.ts"/>
<SegmentURL media="high/segment-4.ts"/>
<SegmentURL media="high/segment-5.ts"/>
<SegmentURL media="high/segment-6.ts"/>
<SegmentURL media="high/segment-7.ts"/>
<SegmentURL media="high/segment-8.ts"/>
<SegmentURL media="high/segment-9.ts"/>
<SegmentURL media="high/segment-10.ts"/>
</SegmentList>
</Representation>
</AdaptationSet>
</Period>
</MPD>

View File

@ -0,0 +1,639 @@
export const parsedManifest = {
allowCache: true,
discontinuityStarts: [],
segments: [],
timelineStarts: [{
start: 0,
timeline: 0
}],
endList: true,
mediaGroups: {
'AUDIO': {
audio: {
'en (main)': {
language: 'en',
autoselect: true,
default: true,
playlists: [
{
attributes: {
'NAME': '63000',
'BANDWIDTH': 63000,
'CODECS': 'mp4a.40.2',
'PROGRAM-ID': 1
},
uri: '',
endList: true,
timeline: 0,
resolvedUri: 'https://www.example.com/base',
targetDuration: 1.984,
segments: [
{
uri: '63000/0.m4f',
timeline: 0,
duration: 1.984,
resolvedUri: 'https://www.example.com/63000/0.m4f',
map: {
uri: '63000/init.m4f',
resolvedUri: 'https://www.example.com/63000/init.m4f'
},
number: 0,
presentationTime: 0
},
{
uri: '63000/1.m4f',
timeline: 0,
duration: 1.984,
resolvedUri: 'https://www.example.com/63000/1.m4f',
map: {
uri: '63000/init.m4f',
resolvedUri: 'https://www.example.com/63000/init.m4f'
},
number: 1,
presentationTime: 1.984
},
{
uri: '63000/2.m4f',
timeline: 0,
duration: 1.984,
resolvedUri: 'https://www.example.com/63000/2.m4f',
map: {
uri: '63000/init.m4f',
resolvedUri: 'https://www.example.com/63000/init.m4f'
},
number: 2,
presentationTime: 3.968
},
{
uri: '63000/3.m4f',
timeline: 0,
duration: 0.04800000000000004,
resolvedUri: 'https://www.example.com/63000/3.m4f',
map: {
uri: '63000/init.m4f',
resolvedUri: 'https://www.example.com/63000/init.m4f'
},
number: 3,
presentationTime: 5.952
}
],
mediaSequence: 0,
discontinuitySequence: 0,
discontinuityStarts: [],
timelineStarts: [{
start: 0,
timeline: 0
}],
contentProtection: {
'com.widevine.alpha': {
attributes: {
schemeIdUri: 'urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed'
},
pssh: new Uint8Array([181, 235, 45])
},
'mp4protection': {
attributes: {
'cenc:default_KID': 'aaa',
'schemeIdUri': 'urn:mpeg:dash:mp4protection:2011',
'value': 'cenc'
}
}
}
},
{
attributes: {
'NAME': '125000',
'BANDWIDTH': 125000,
'CODECS': 'mp4a.40.2',
'PROGRAM-ID': 1
},
uri: '',
endList: true,
timeline: 0,
resolvedUri: 'https://www.example.com/base',
targetDuration: 1.984,
segments: [
{
uri: '125000/0.m4f',
timeline: 0,
duration: 1.984,
resolvedUri: 'https://www.example.com/125000/0.m4f',
map: {
uri: '125000/init.m4f',
resolvedUri: 'https://www.example.com/125000/init.m4f'
},
number: 0,
presentationTime: 0
},
{
uri: '125000/1.m4f',
timeline: 0,
duration: 1.984,
resolvedUri: 'https://www.example.com/125000/1.m4f',
map: {
uri: '125000/init.m4f',
resolvedUri: 'https://www.example.com/125000/init.m4f'
},
number: 1,
presentationTime: 1.984
},
{
uri: '125000/2.m4f',
timeline: 0,
duration: 1.984,
resolvedUri: 'https://www.example.com/125000/2.m4f',
map: {
uri: '125000/init.m4f',
resolvedUri: 'https://www.example.com/125000/init.m4f'
},
number: 2,
presentationTime: 3.968
},
{
uri: '125000/3.m4f',
timeline: 0,
duration: 0.04800000000000004,
resolvedUri: 'https://www.example.com/125000/3.m4f',
map: {
uri: '125000/init.m4f',
resolvedUri: 'https://www.example.com/125000/init.m4f'
},
number: 3,
presentationTime: 5.952
}
],
mediaSequence: 0,
discontinuitySequence: 0,
discontinuityStarts: [],
timelineStarts: [{
start: 0,
timeline: 0
}],
contentProtection: {
'com.widevine.alpha': {
attributes: {
schemeIdUri: 'urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed'
},
pssh: new Uint8Array([181, 235, 45])
},
'mp4protection': {
attributes: {
'cenc:default_KID': 'aaa',
'schemeIdUri': 'urn:mpeg:dash:mp4protection:2011',
'value': 'cenc'
}
}
}
}
],
uri: ''
},
'es': {
language: 'es',
autoselect: true,
default: false,
playlists: [
{
attributes: {
'NAME': '63000',
'BANDWIDTH': 63000,
'CODECS': 'mp4a.40.2',
'PROGRAM-ID': 1
},
uri: '',
endList: true,
timeline: 0,
resolvedUri: 'https://www.example.com/base',
targetDuration: 1.984,
segments: [
{
uri: '63000/es/0.m4f',
timeline: 0,
duration: 1.984,
resolvedUri: 'https://www.example.com/63000/es/0.m4f',
map: {
uri: '63000/es/init.m4f',
resolvedUri: 'https://www.example.com/63000/es/init.m4f'
},
number: 0,
presentationTime: 0
},
{
uri: '63000/es/1.m4f',
timeline: 0,
duration: 1.984,
resolvedUri: 'https://www.example.com/63000/es/1.m4f',
map: {
uri: '63000/es/init.m4f',
resolvedUri: 'https://www.example.com/63000/es/init.m4f'
},
number: 1,
presentationTime: 1.984
},
{
uri: '63000/es/2.m4f',
timeline: 0,
duration: 1.984,
resolvedUri: 'https://www.example.com/63000/es/2.m4f',
map: {
uri: '63000/es/init.m4f',
resolvedUri: 'https://www.example.com/63000/es/init.m4f'
},
number: 2,
presentationTime: 3.968
},
{
uri: '63000/es/3.m4f',
timeline: 0,
duration: 0.04800000000000004,
resolvedUri: 'https://www.example.com/63000/es/3.m4f',
map: {
uri: '63000/es/init.m4f',
resolvedUri: 'https://www.example.com/63000/es/init.m4f'
},
number: 3,
presentationTime: 5.952
}
],
mediaSequence: 0,
discontinuitySequence: 0,
discontinuityStarts: [],
timelineStarts: [{
start: 0,
timeline: 0
}],
contentProtection: {
'com.widevine.alpha': {
attributes: {
schemeIdUri: 'urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed'
},
pssh: new Uint8Array([181, 235, 45])
},
'mp4protection': {
attributes: {
'cenc:default_KID': 'aaa',
'schemeIdUri': 'urn:mpeg:dash:mp4protection:2011',
'value': 'cenc'
}
}
}
},
{
attributes: {
'NAME': '125000',
'BANDWIDTH': 125000,
'CODECS': 'mp4a.40.2',
'PROGRAM-ID': 1
},
uri: '',
endList: true,
timeline: 0,
resolvedUri: 'https://www.example.com/base',
targetDuration: 1.984,
segments: [
{
uri: '125000/es/0.m4f',
timeline: 0,
duration: 1.984,
resolvedUri: 'https://www.example.com/125000/es/0.m4f',
map: {
uri: '125000/es/init.m4f',
resolvedUri: 'https://www.example.com/125000/es/init.m4f'
},
number: 0,
presentationTime: 0
},
{
uri: '125000/es/1.m4f',
timeline: 0,
duration: 1.984,
resolvedUri: 'https://www.example.com/125000/es/1.m4f',
map: {
uri: '125000/es/init.m4f',
resolvedUri: 'https://www.example.com/125000/es/init.m4f'
},
number: 1,
presentationTime: 1.984
},
{
uri: '125000/es/2.m4f',
timeline: 0,
duration: 1.984,
resolvedUri: 'https://www.example.com/125000/es/2.m4f',
map: {
uri: '125000/es/init.m4f',
resolvedUri: 'https://www.example.com/125000/es/init.m4f'
},
number: 2,
presentationTime: 3.968
},
{
uri: '125000/es/3.m4f',
timeline: 0,
duration: 0.04800000000000004,
resolvedUri: 'https://www.example.com/125000/es/3.m4f',
map: {
uri: '125000/es/init.m4f',
resolvedUri: 'https://www.example.com/125000/es/init.m4f'
},
number: 3,
presentationTime: 5.952
}
],
mediaSequence: 0,
discontinuitySequence: 0,
discontinuityStarts: [],
timelineStarts: [{
start: 0,
timeline: 0
}],
contentProtection: {
'com.widevine.alpha': {
attributes: {
schemeIdUri: 'urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed'
},
pssh: new Uint8Array([181, 235, 45])
},
'mp4protection': {
attributes: {
'cenc:default_KID': 'aaa',
'schemeIdUri': 'urn:mpeg:dash:mp4protection:2011',
'value': 'cenc'
}
}
}
}
],
uri: ''
}
}
},
'VIDEO': {},
'CLOSED-CAPTIONS': {},
'SUBTITLES': {
subs: {
en: {
language: 'en',
default: false,
autoselect: false,
playlists: [
{
attributes: {
'NAME': 'en',
'BANDWIDTH': 256,
'PROGRAM-ID': 1,
'CODECS': 'stpp.ttml.im1t'
},
uri: '',
endList: true,
timeline: 0,
resolvedUri: 'https://example.com/en.dash',
targetDuration: 6,
segments: [
{
uri: 'https://example.com/en.dash',
timeline: 0,
resolvedUri: 'https://example.com/en.dash',
duration: 6,
number: 0
}
],
mediaSequence: 0,
discontinuitySequence: 0,
discontinuityStarts: [],
timelineStarts: [{
start: 0,
timeline: 0
}]
}
],
uri: ''
},
es: {
language: 'es',
default: false,
autoselect: false,
playlists: [
{
attributes: {
'NAME': 'es',
'BANDWIDTH': 256,
'PROGRAM-ID': 1
},
uri: '',
endList: true,
timeline: 0,
resolvedUri: 'https://example.com/es.vtt',
targetDuration: 6,
segments: [
{
uri: 'https://example.com/es.vtt',
timeline: 0,
resolvedUri: 'https://example.com/es.vtt',
duration: 6,
number: 0
}
],
mediaSequence: 0,
discontinuitySequence: 0,
discontinuityStarts: [],
timelineStarts: [{
start: 0,
timeline: 0
}]
}
],
uri: ''
}
}
}
},
uri: '',
duration: 6,
playlists: [
{
attributes: {
'AUDIO': 'audio',
'BANDWIDTH': 449000,
'CODECS': 'avc1.420015',
'FRAME-RATE': 23.976,
'NAME': '482',
'PROGRAM-ID': 1,
'RESOLUTION': {
height: 270,
width: 482
},
'SUBTITLES': 'subs'
},
uri: '',
endList: true,
timeline: 0,
resolvedUri: 'https://www.example.com/base',
targetDuration: 1.9185833333333333,
segments: [
{
uri: '482/0.m4f',
timeline: 0,
duration: 1.9185833333333333,
resolvedUri: 'https://www.example.com/482/0.m4f',
map: {
uri: '482/init.m4f',
resolvedUri: 'https://www.example.com/482/init.m4f'
},
number: 0,
presentationTime: 0
},
{
uri: '482/1.m4f',
timeline: 0,
duration: 1.9185833333333333,
resolvedUri: 'https://www.example.com/482/1.m4f',
map: {
uri: '482/init.m4f',
resolvedUri: 'https://www.example.com/482/init.m4f'
},
number: 1,
presentationTime: 1.9185833333333333
},
{
uri: '482/2.m4f',
timeline: 0,
duration: 1.9185833333333333,
resolvedUri: 'https://www.example.com/482/2.m4f',
map: {
uri: '482/init.m4f',
resolvedUri: 'https://www.example.com/482/init.m4f'
},
number: 2,
presentationTime: 3.8371666666666666
},
{
uri: '482/3.m4f',
timeline: 0,
duration: 0.24425000000000008,
resolvedUri: 'https://www.example.com/482/3.m4f',
map: {
uri: '482/init.m4f',
resolvedUri: 'https://www.example.com/482/init.m4f'
},
number: 3,
presentationTime: 5.75575
}
],
mediaSequence: 0,
discontinuitySequence: 0,
discontinuityStarts: [],
timelineStarts: [{
start: 0,
timeline: 0
}],
contentProtection: {
'com.widevine.alpha': {
attributes: {
schemeIdUri: 'urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed'
},
pssh: new Uint8Array([181, 235, 45])
},
'mp4protection': {
attributes: {
'cenc:default_KID': 'aaa',
'schemeIdUri': 'urn:mpeg:dash:mp4protection:2011',
'value': 'cenc'
}
}
}
},
{
attributes: {
'AUDIO': 'audio',
'BANDWIDTH': 3971000,
'CODECS': 'avc1.64001e',
'FRAME-RATE': 23.976,
'NAME': '720',
'PROGRAM-ID': 1,
'RESOLUTION': {
height: 404,
width: 720
},
'SUBTITLES': 'subs'
},
uri: '',
endList: true,
timeline: 0,
resolvedUri: 'https://www.example.com/base',
targetDuration: 1.9185833333333333,
segments: [
{
uri: '720/0.m4f',
timeline: 0,
duration: 1.9185833333333333,
resolvedUri: 'https://www.example.com/720/0.m4f',
map: {
uri: '720/init.m4f',
resolvedUri: 'https://www.example.com/720/init.m4f'
},
number: 0,
presentationTime: 0
},
{
uri: '720/1.m4f',
timeline: 0,
duration: 1.9185833333333333,
resolvedUri: 'https://www.example.com/720/1.m4f',
map: {
uri: '720/init.m4f',
resolvedUri: 'https://www.example.com/720/init.m4f'
},
number: 1,
presentationTime: 1.9185833333333333
},
{
uri: '720/2.m4f',
timeline: 0,
duration: 1.9185833333333333,
resolvedUri: 'https://www.example.com/720/2.m4f',
map: {
uri: '720/init.m4f',
resolvedUri: 'https://www.example.com/720/init.m4f'
},
number: 2,
presentationTime: 3.8371666666666666
},
{
uri: '720/3.m4f',
timeline: 0,
duration: 0.24425000000000008,
resolvedUri: 'https://www.example.com/720/3.m4f',
map: {
uri: '720/init.m4f',
resolvedUri: 'https://www.example.com/720/init.m4f'
},
number: 3,
presentationTime: 5.75575
}
],
mediaSequence: 0,
discontinuitySequence: 0,
discontinuityStarts: [],
timelineStarts: [{
start: 0,
timeline: 0
}],
contentProtection: {
'com.widevine.alpha': {
attributes: {
schemeIdUri: 'urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed'
},
pssh: new Uint8Array([181, 235, 45])
},
'mp4protection': {
attributes: {
'cenc:default_KID': 'aaa',
'schemeIdUri': 'urn:mpeg:dash:mp4protection:2011',
'value': 'cenc'
}
}
}
}
]
};

View File

@ -0,0 +1,60 @@
<?xml version="1.0" encoding="UTF-8"?>
<MPD xmlns="urn:mpeg:dash:schema:mpd:2011" xmlns:cenc="urn:mpeg:cenc:2013" profiles="urn:mpeg:dash:profile:isoff-live:2011" type="static" mediaPresentationDuration="PT6S" minBufferTime="PT2.000S">
<BaseURL>https://www.example.com/base</BaseURL>
<Period>
<AdaptationSet mimeType="audio/mp4" segmentAlignment="true" startWithSAP="1" lang="en">
<ContentProtection value="cenc" schemeIdUri="urn:mpeg:dash:mp4protection:2011" cenc:default_KID="aaa"/>
<ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed">
<cenc:pssh>test</cenc:pssh>
</ContentProtection>
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
<SegmentTemplate duration="95232" initialization="$RepresentationID$/init.m4f" media="$RepresentationID$/$Number$.m4f" startNumber="0" timescale="48000"></SegmentTemplate>
<Representation audioSamplingRate="48000" bandwidth="63000" codecs="mp4a.40.2" id="63000">
</Representation>
<Representation audioSamplingRate="48000" bandwidth="125000" codecs="mp4a.40.2" id="125000">
</Representation>
</AdaptationSet>
<AdaptationSet mimeType="audio/mp4" segmentAlignment="true" startWithSAP="1" lang="es">
<ContentProtection value="cenc" schemeIdUri="urn:mpeg:dash:mp4protection:2011" cenc:default_KID="aaa"/>
<ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed">
<cenc:pssh>test</cenc:pssh>
</ContentProtection>
<Role schemeIdUri="urn:mpeg:dash:role:2011"></Role>
<SegmentTemplate duration="95232" initialization="$RepresentationID$/es/init.m4f" media="$RepresentationID$/es/$Number$.m4f" startNumber="0" timescale="48000"></SegmentTemplate>
<Representation audioSamplingRate="48000" bandwidth="63000" codecs="mp4a.40.2" id="63000">
</Representation>
<Representation audioSamplingRate="48000" bandwidth="125000" codecs="mp4a.40.2" id="125000">
</Representation>
</AdaptationSet>
<AdaptationSet mimeType="video/mp4" scanType="progressive" segmentAlignment="true" startWithSAP="1">
<ContentProtection value="cenc" schemeIdUri="urn:mpeg:dash:mp4protection:2011" cenc:default_KID="aaa"/>
<ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed">
<cenc:pssh>test</cenc:pssh>
</ContentProtection>
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
<SegmentTemplate duration="46046" initialization="$RepresentationID$/init.m4f" media="$RepresentationID$/$Number$.m4f" startNumber="0" timescale="24000"></SegmentTemplate>
<Representation bandwidth="449000" codecs="avc1.420015" frameRate="2997/125" height="270" id="482" width="482">
</Representation>
<Representation bandwidth="3971000" codecs="avc1.64001e" frameRate="2997/125" height="404" id="720" width="720">
</Representation>
</AdaptationSet>
<AdaptationSet contentType="text" mimeType="application/mp4" lang="en" codecs="stpp.ttml.im1t">
<Representation bandwidth="256" id="en">
<BaseURL>https://example.com/en.dash</BaseURL>
</Representation>
</AdaptationSet>
<AdaptationSet mimeType="text/vtt" lang="es">
<Representation bandwidth="256" id="es">
<BaseURL>https://example.com/es.vtt</BaseURL>
</Representation>
</AdaptationSet>
</Period>
</MPD>

View File

@ -0,0 +1,169 @@
export const parsedManifest = {
allowCache: true,
discontinuityStarts: [],
segments: [],
timelineStarts: [{ start: 0, timeline: 0 }],
endList: true,
mediaGroups: {
'AUDIO': {
audio: {
en: {
language: 'en',
autoselect: true,
default: true,
playlists: [
{
attributes: {
'NAME': '2',
'BANDWIDTH': 32000,
'CODECS': 'opus',
'PROGRAM-ID': 1
},
uri: '',
endList: true,
timeline: 0,
resolvedUri: 'https://www.example.com/base',
targetDuration: 4,
segments: [
{
uri: 'audio/segment_0.chk',
timeline: 0,
duration: 4,
resolvedUri: 'https://www.example.com/audio/segment_0.chk',
map: {
uri: 'audio/init.hdr',
resolvedUri: 'https://www.example.com/audio/init.hdr'
},
number: 0,
presentationTime: 0
},
{
uri: 'audio/segment_1.chk',
timeline: 0,
duration: 4,
resolvedUri: 'https://www.example.com/audio/segment_1.chk',
map: {
uri: 'audio/init.hdr',
resolvedUri: 'https://www.example.com/audio/init.hdr'
},
number: 1,
presentationTime: 4
},
{
uri: 'audio/segment_2.chk',
timeline: 0,
duration: 4,
resolvedUri: 'https://www.example.com/audio/segment_2.chk',
map: {
uri: 'audio/init.hdr',
resolvedUri: 'https://www.example.com/audio/init.hdr'
},
number: 2,
presentationTime: 8
},
{
uri: 'audio/segment_3.chk',
timeline: 0,
duration: 4,
resolvedUri: 'https://www.example.com/audio/segment_3.chk',
map: {
uri: 'audio/init.hdr',
resolvedUri: 'https://www.example.com/audio/init.hdr'
},
number: 3,
presentationTime: 12
}
],
mediaSequence: 0,
timelineStarts: [{ start: 0, timeline: 0 }],
discontinuitySequence: 0,
discontinuityStarts: []
}
],
uri: ''
}
}
},
'VIDEO': {},
'CLOSED-CAPTIONS': {},
'SUBTITLES': {}
},
uri: '',
duration: 16,
playlists: [
{
attributes: {
'AUDIO': 'audio',
'BANDWIDTH': 100000,
'CODECS': 'av1',
'FRAME-RATE': 24,
'NAME': '1',
'PROGRAM-ID': 1,
'RESOLUTION': {
width: 480,
height: 200
},
'SUBTITLES': 'subs'
},
uri: '',
endList: true,
timeline: 0,
resolvedUri: 'https://www.example.com/base',
targetDuration: 4,
segments: [
{
uri: 'video/segment_0.chk',
timeline: 0,
duration: 4,
resolvedUri: 'https://www.example.com/video/segment_0.chk',
map: {
uri: 'video/init.hdr',
resolvedUri: 'https://www.example.com/video/init.hdr'
},
number: 0,
presentationTime: 0
},
{
uri: 'video/segment_1.chk',
timeline: 0,
duration: 4,
resolvedUri: 'https://www.example.com/video/segment_1.chk',
map: {
uri: 'video/init.hdr',
resolvedUri: 'https://www.example.com/video/init.hdr'
},
number: 1,
presentationTime: 4
},
{
uri: 'video/segment_2.chk',
timeline: 0,
duration: 4,
resolvedUri: 'https://www.example.com/video/segment_2.chk',
map: {
uri: 'video/init.hdr',
resolvedUri: 'https://www.example.com/video/init.hdr'
},
number: 2,
presentationTime: 8
},
{
uri: 'video/segment_3.chk',
timeline: 0,
duration: 4,
resolvedUri: 'https://www.example.com/video/segment_3.chk',
map: {
uri: 'video/init.hdr',
resolvedUri: 'https://www.example.com/video/init.hdr'
},
number: 3,
presentationTime: 12
}
],
mediaSequence: 0,
timelineStarts: [{ start: 0, timeline: 0 }],
discontinuitySequence: 0,
discontinuityStarts: []
}
]
};

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<MPD id="a467fa27-2820-41d1-89e2-a43216770daa" profiles="urn:mpeg:dash:profile:full:2011" type="static"
mediaPresentationDuration="P0Y0M0DT0H0M16S" minBufferTime="P0Y0M0DT0H0M2.000S"
xmlns="urn:mpeg:dash:schema:mpd:2011" xmlns:ns2="http://www.w3.org/1999/xlink">
<Period id="1" start="P0Y0M0DT0H0M0.000S">
<BaseURL>https://www.example.com/base</BaseURL>
<AdaptationSet mimeType="video/webm">
<Representation id="1" bandwidth="100000" width="480" height="200" frameRate="24" codecs="av1">
<SegmentTemplate media="video/segment_$Number$.chk" initialization="video/init.hdr" duration="96000"
startNumber="0" timescale="24000"/>
</Representation>
</AdaptationSet>
<AdaptationSet lang="en" mimeType="audio/webm">
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
<Representation id="2" bandwidth="32000" audioSamplingRate="48000" codecs="opus">
<SegmentTemplate media="audio/segment_$Number$.chk" initialization="audio/init.hdr" duration="192000"
startNumber="0" timescale="48000"/>
</Representation>
</AdaptationSet>
</Period>
</MPD>