f71a8576 by David LaPalomento

Convert m3u8 tests to use deepEquals against a known "good" parse

Take all the remaining test cases and conver them into pairs of m3u8 and json files. Removed handlebars since it's no longer in use.
1 parent 6a7f0679
Showing 56 changed files with 1470 additions and 299 deletions
{
"targetDuration": 10,
"allowCache": true,
"mediaSequence": 0,
"playlistType": "VOD",
"segments": [{
"duration": 10,
"byterange": {
"length": 522828,
"offset": 0
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 587500,
"offset": 522828
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 713084,
"offset": 1110328
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 476580,
"offset": 1823412
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 535612,
"offset": 2299992
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 207176,
"offset": 2835604
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 455900,
"offset": 3042780
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 657248,
"offset": 3498680
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 571708,
"offset": 4155928
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 485040,
"offset": 4727636
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 709136,
"offset": 5212676
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 730004,
"offset": 5921812
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 456276,
"offset": 6651816
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 468684,
"offset": 7108092
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 444996,
"offset": 7576776
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 331444,
"offset": 8021772
},
"uri": "hls_450k_video.ts"
}, {
"duration": 1.4167,
"byterange": {
"length": 44556,
"offset": 8353216
},
"uri": "hls_450k_video.ts"
}]
}
#EXTM3U
#EXT-X-TARGETDURATION:10
#EXT-X-VERSION:4
#EXT-X-ALLOW-CACHE:YES
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-PLAYLIST-TYPE:VOD
#EXTINF:10,
#EXT-X-BYTERANGE:522828@0
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:587500@522828
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:713084@1110328
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:476580@1823412
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:535612@2299992
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:207176@2835604
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:455900@3042780
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:657248@3498680
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:571708@4155928
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:485040@4727636
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:709136@5212676
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:730004@5921812
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:456276@6651816
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:468684@7108092
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:444996@7576776
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:331444@8021772
hls_450k_video.ts
#EXTINF:1.4167,
#EXT-X-BYTERANGE:44556@8353216
hls_450k_video.ts
#EXT-X-ENDLIST
\ No newline at end of file
window.brightcove_playlist_data = '#EXTM3U\n'+
'#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=240000,RESOLUTION=396x224\n'+
'http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824686811001&videoId=1824650741001\n'+
'#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=40000\n'+
'http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824683759001&videoId=1824650741001\n'+
'#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=440000,RESOLUTION=396x224\n'+
'http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824686593001&videoId=1824650741001\n'+
'#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1928000,RESOLUTION=960x540\n'+
'http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824687660001&videoId=1824650741001';
{
"allowCache": true,
"targetDuration": 10,
"mediaSequence": 0,
"playlistType": "VOD",
"segments": [{
"duration": 10,
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 587500,
"offset": 522828
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 713084,
"offset": 0
},
"uri": "hls_450k_video2.ts"
}, {
"duration": 10,
"byterange": {
"length": 476580,
"offset": 1823412
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 535612,
"offset": 2299992
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 207176,
"offset": 2835604
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 455900,
"offset": 3042780
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 657248,
"offset": 3498680
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 571708,
"offset": 4155928
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 485040,
"offset": 4727636
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 709136,
"offset": 5212676
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 730004,
"offset": 5921812
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 456276,
"offset": 6651816
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 468684,
"offset": 7108092
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 444996,
"offset": 7576776
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 331444,
"offset": 8021772
},
"uri": "hls_450k_video.ts"
}, {
"duration": 1.4167,
"byterange": {
"length": 44556,
"offset": 8353216
},
"uri": "hls_450k_video.ts"
}]
}
#EXTM3U
#EXT-X-TARGETDURATION:10
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-PLAYLIST-TYPE:VOD
#EXTINF:10,
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:587500@522828
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:713084
hls_450k_video2.ts
#EXTINF:10,
#EXT-X-BYTERANGE:476580@1823412
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:535612@2299992
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:207176@2835604
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:455900@3042780
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:657248@3498680
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:571708@4155928
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:485040@4727636
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:709136@5212676
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:730004@5921812
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:456276@6651816
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:468684@7108092
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:444996@7576776
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:331444@8021772
hls_450k_video.ts
#EXTINF:1.4167,
#EXT-X-BYTERANGE:44556@8353216
hls_450k_video.ts
#EXT-X-ENDLIST
\ No newline at end of file
{
"targetDuration": 10,
"allowCache": false,
"mediaSequence": 0,
"playlistType": "VOD",
"segments": [{
"duration": 10,
"byterange": {
"length": 522828,
"offset": 0
},
"uri": "hls_450k_video.ts"
}]
}
#EXTM3U
#EXT-X-TARGETDURATION:10
#EXT-X-VERSION:4
#EXT-X-ALLOW-CACHE:NO
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-PLAYLIST-TYPE:VOD
#EXTINF:10,
#EXT-X-BYTERANGE:522828@0
hls_450k_video.ts
#EXT-X-ENDLIST
\ No newline at end of file
{
"targetDuration": 10,
"allowCache": true,
"mediaSequence": 0,
"playlistType": "VOD",
"segments": [{
"duration": 10,
"byterange": {
"length": 522828,
"offset": 0
},
"uri": "hls_450k_video.ts"
}]
}
#EXTM3U
#EXT-X-TARGETDURATION:10
#EXT-X-VERSION:4
#EXT-X-ALLOW-CACHE:
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-PLAYLIST-TYPE:VOD
#EXTINF:10,
#EXT-X-BYTERANGE:522828@0
hls_450k_video.ts
#EXT-X-ENDLIST
\ No newline at end of file
{
"allowCache": true,
"mediaSequence": 0,
"playlistType": "VOD",
"targetDuration": 8,
"segments": [{
"duration": 6.64,
"uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
}, {
"duration": 6.08,
"uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
}, {
"duration": 6.6,
"uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
}, {
"duration": 5,
"uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
}]
}
#EXTM3U
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-MEDIA-SEQUENCE:
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:8
#EXTINF:6.640,{}
/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts
#EXTINF:6.080,{}
/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts
#EXTINF:6.600,{}
/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts
#EXTINF:5.000,{}
/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts
#EXT-X-ENDLIST
{
"allowCache": true,
"targetDuration": 10,
"mediaSequence": 0,
"playlistType": "VOD",
"segments": [{
"duration": 10,
"uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00001.ts"
}, {
"duration": 10,
"uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00002.ts"
}, {
"duration": 10,
"uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00003.ts"
}, {
"duration": 10,
"uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00004.ts"
}, {
"duration": 10,
"uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00005.ts"
}, {
"duration": 8,
"uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00006.ts"
}]
}
#EXTM3U
#EXT-X-PLAYLIST-TYPE:
#EXT-X-TARGETDURATION:10
#EXTINF:10,
/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00001.ts
#EXTINF:10,
/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00002.ts
#EXTINF:10,
/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00003.ts
#EXTINF:10,
/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00004.ts
#EXTINF:10,
/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00005.ts
#EXTINF:8,
/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00006.ts
#ZEN-TOTAL-DURATION:57.9911
#EXT-X-ENDLIST
{
"allowCache": true,
"playlists": [{
"attributes": {
"PROGRAM-ID": 1,
"BANDWIDTH": 240000,
"RESOLUTION": {
"width": 396,
"height": 224
}
},
"uri": "http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824686811001&videoId=1824650741001"
}, {
"attributes": {
"PROGRAM-ID": 1,
"BANDWIDTH": 40000
},
"uri": "http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824683759001&videoId=1824650741001"
}, {
"attributes": {
"PROGRAM-ID": 1,
"BANDWIDTH": 440000,
"RESOLUTION": {
"width": 396,
"height": 224
}
},
"uri": "http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824686593001&videoId=1824650741001"
}, {
"attributes": {
"PROGRAM-ID": 1,
"BANDWIDTH": 1928000,
"RESOLUTION": {
"width": 960,
"height": 540
}
},
"uri": "http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824687660001&videoId=1824650741001"
}]
}
#EXTM3U
#EXT-X-TARGETDURATION:
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=240000,RESOLUTION=396x224
http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824686811001&videoId=1824650741001
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=40000
http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824683759001&videoId=1824650741001
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=440000,RESOLUTION=396x224
http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824686593001&videoId=1824650741001
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1928000,RESOLUTION=960x540
http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824687660001&videoId=1824650741001
{
"allowCache": true,
"targetDuration": 10,
"mediaSequence": 0,
"playlistType": "EVENT",
"segments": [{
"duration": 10,
"uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00001.ts"
}, {
"duration": 10,
"uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00002.ts"
}, {
"duration": 10,
"uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00003.ts"
}, {
"duration": 10,
"uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00004.ts"
}, {
"duration": 10,
"uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00005.ts"
}, {
"duration": 8,
"uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00006.ts"
}]
}
#EXTM3U
#EXT-X-PLAYLIST-TYPE:EVENT
#EXT-X-TARGETDURATION:10
#EXTINF:10,
/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00001.ts
#EXTINF:10,
/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00002.ts
#EXTINF:10,
/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00003.ts
#EXTINF:10,
/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00004.ts
#EXTINF:10,
/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00005.ts
#EXTINF:8,
/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00006.ts
#ZEN-TOTAL-DURATION:57.9911
#EXT-X-ENDLIST
{
"allowCache": true,
"targetDuration": 10,
"mediaSequence": 0,
"playlistType": "VOD",
"segments": [{
"duration": 10,
"byterange": {
"length": 522828,
"offset": 0
},
"uri": "hls_450k_video.ts"
}, {
"byterange": {
"length": 587500,
"offset": 522828
},
"uri": "hls_450k_video.ts"
}, {
"duration": 5,
"byterange": {
"length": 713084,
"offset": 1110328
},
"uri": "hls_450k_video.ts"
}, {
"duration": 9.7,
"byterange": {
"length": 476580,
"offset": 1823412
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 535612,
"offset": 2299992
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 207176,
"offset": 2835604
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 455900,
"offset": 3042780
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 657248,
"offset": 3498680
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 571708,
"offset": 4155928
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 485040,
"offset": 4727636
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 709136,
"offset": 5212676
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 730004,
"offset": 5921812
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 456276,
"offset": 6651816
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 468684,
"offset": 7108092
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 444996,
"offset": 7576776
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 331444,
"offset": 8021772
},
"uri": "hls_450k_video.ts"
}, {
"byterange": {
"length": 44556,
"offset": 8353216
},
"uri": "hls_450k_video.ts"
}]
}
#EXTM3U
#EXT-X-TARGETDURATION:10
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-PLAYLIST-TYPE:VOD
#EXTINF:10
#EXT-X-BYTERANGE:522828@0
hls_450k_video.ts
#EXTINF:;asljasdfii11)))00,
#EXT-X-BYTERANGE:587500@522828
hls_450k_video.ts
#EXTINF:5,
#EXT-X-BYTERANGE:713084@1110328
hls_450k_video.ts
#EXTINF:9.7,
#EXT-X-BYTERANGE:476580@1823412
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:535612@2299992
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:207176@2835604
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:455900@3042780
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:657248@3498680
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:571708@4155928
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:485040@4727636
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:709136@5212676
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:730004@5921812
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:456276@6651816
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:468684@7108092
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:444996@7576776
hls_450k_video.ts
#EXTINF:22,
#EXTINF:10,
#EXT-X-BYTERANGE:331444@8021772
hls_450k_video.ts
#EXT-X-BYTERANGE:44556@8353216
hls_450k_video.ts
#EXT-X-ENDLIST
{
"targetDuration": 10,
"allowCache": true,
"mediaSequence": 0,
"playlistType": "VOD",
"segments": [{
"duration": 10,
"byterange": {
"length": 522828,
"offset": 0
},
"uri": "hls_450k_video.ts"
}]
}
#EXTM3U
#EXT-X-TARGETDURATION:10
#EXT-X-VERSION:4
#EXT-X-ALLOW-CACHE:MAYBE
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-PLAYLIST-TYPE:VOD
#EXTINF:10,
#EXT-X-BYTERANGE:522828@0
hls_450k_video.ts
#EXT-X-ENDLIST
\ No newline at end of file
{
"allowCache": true,
"mediaSequence": 0,
"playlistType": "VOD",
"targetDuration": 8,
"segments": [{
"duration": 6.64,
"uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
}, {
"duration": 6.08,
"uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
}, {
"duration": 6.6,
"uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
}, {
"duration": 5,
"uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
}]
}
#EXTM3U
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-MEDIA-SEQUENCE:gobblegobble
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:8
#EXTINF:6.640,{}
/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts
#EXTINF:6.080,{}
/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts
#EXTINF:6.600,{}
/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts
#EXTINF:5.000,{}
/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts
#EXT-X-ENDLIST
{
"allowCache": true,
"targetDuration": 10,
"mediaSequence": 0,
"playlistType": "VOD",
"segments": [{
"duration": 10,
"uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00001.ts"
}, {
"duration": 10,
"uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00002.ts"
}, {
"duration": 10,
"uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00003.ts"
}, {
"duration": 10,
"uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00004.ts"
}, {
"duration": 10,
"uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00005.ts"
}, {
"duration": 8,
"uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00006.ts"
}]
}
#EXTM3U
#EXT-X-PLAYLIST-TYPE:asdRASDfasdR
#EXT-X-TARGETDURATION:10
#EXTINF:10,
/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00001.ts
#EXTINF:10,
/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00002.ts
#EXTINF:10,
/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00003.ts
#EXTINF:10,
/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00004.ts
#EXTINF:10,
/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00005.ts
#EXTINF:8,
/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00006.ts
#ZEN-TOTAL-DURATION:57.9911
#EXT-X-ENDLIST
{
"allowCache": true,
"mediaSequence": 0,
"playlistType": "VOD",
"segments": [{
"duration": 10,
"byterange": {
"length": 522828,
"offset": 0
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 587500,
"offset": 522828
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 713084,
"offset": 1110328
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 476580,
"offset": 1823412
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 535612,
"offset": 2299992
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 207176,
"offset": 2835604
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 455900,
"offset": 3042780
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 657248,
"offset": 3498680
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 571708,
"offset": 4155928
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 485040,
"offset": 4727636
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 709136,
"offset": 5212676
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 730004,
"offset": 5921812
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 456276,
"offset": 6651816
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 468684,
"offset": 7108092
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 444996,
"offset": 7576776
},
"uri": "hls_450k_video.ts"
}, {
"duration": 10,
"byterange": {
"length": 331444,
"offset": 8021772
},
"uri": "hls_450k_video.ts"
}, {
"duration": 1.4167,
"byterange": {
"length": 44556,
"offset": 8353216
},
"uri": "hls_450k_video.ts"
}]
}
#EXTM3U
#EXT-X-TARGETDURATION:NaN
#EXT-X-VERSION:4
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-PLAYLIST-TYPE:VOD
#EXTINF:10,
#EXT-X-BYTERANGE:522828@0
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:587500@522828
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:713084@1110328
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:476580@1823412
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:535612@2299992
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:207176@2835604
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:455900@3042780
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:657248@3498680
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:571708@4155928
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:485040@4727636
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:709136@5212676
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:730004@5921812
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:456276@6651816
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:468684@7108092
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:444996@7576776
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:331444@8021772
hls_450k_video.ts
#EXTINF:1.4167,
#EXT-X-BYTERANGE:44556@8353216
hls_450k_video.ts
#EXT-X-ENDLIST
{
"allowCache": true,
"playlists": [{
"attributes": {
"PROGRAM-ID": 1,
"BANDWIDTH": 240000,
"RESOLUTION": {
"width": 396,
"height": 224
}
},
"uri": "http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824686811001&videoId=1824650741001"
}, {
"attributes": {
"PROGRAM-ID": 1,
"BANDWIDTH": 40000
},
"uri": "http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824683759001&videoId=1824650741001"
}, {
"attributes": {
"PROGRAM-ID": 1,
"BANDWIDTH": 440000,
"RESOLUTION": {
"width": 396,
"height": 224
}
},
"uri": "http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824686593001&videoId=1824650741001"
}, {
"attributes": {
"PROGRAM-ID": 1,
"BANDWIDTH": 1928000,
"RESOLUTION": {
"width": 960,
"height": 540
}
},
"uri": "http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824687660001&videoId=1824650741001"
}]
}
#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=240000,RESOLUTION=396x224
http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824686811001&videoId=1824650741001
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=40000
http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824683759001&videoId=1824650741001
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=440000,RESOLUTION=396x224
http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824686593001&videoId=1824650741001
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1928000,RESOLUTION=960x540
http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824687660001&videoId=1824650741001
{
"allowCache": true,
"mediaSequence": 0,
"playlistType": "VOD",
"targetDuration": 8,
"segments": [{
"duration": 6.64,
"uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
}, {
"duration": 6.08,
"uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
}, {
"duration": 6.6,
"uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
}, {
"duration": 5,
"uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
}]
}
#EXTM3U
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:8
#EXTINF:6.640,{}
/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts
#EXTINF:6.080,{}
/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts
#EXTINF:6.600,{}
/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts
#EXTINF:5.000,{}
/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts
#EXT-X-ENDLIST
{
"allowCache": true,
"mediaSequence": 0,
"playlistType": "VOD",
"targetDuration": 8,
"segments": [{
"duration": 6.64,
"uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
}, {
"duration": 6.08,
"uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
}, {
"duration": 6.6,
"uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
}, {
"duration": 5,
"uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
}]
}
#EXTM3U
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:8
#EXTINF:6.640,{}
/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts
#EXTINF:6.080,{}
/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts
#EXTINF:6.600,{}
/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts
#EXTINF:5.000,{}
/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts
#EXT-X-ENDLIST
{
"allowCache": true,
"mediaSequence": 0,
"playlistType": "VOD",
"targetDuration": 8,
"segments": [{
"duration": 6.64,
"uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
}, {
"uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
}, {
"uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
}, {
"uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
}]
}
#EXTM3U
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:8
#EXTINF:6.640,{}
/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts
/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts
/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts
/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts
#EXT-X-ENDLIST
{
"allowCache": true,
"mediaSequence": -11,
"playlistType": "VOD",
"targetDuration": 8,
"segments": [{
"duration": 6.64,
"uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
}, {
"duration": 6.08,
"uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
}, {
"duration": 6.6,
"uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
}, {
"duration": 5,
"uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
}]
}
#EXTM3U
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-MEDIA-SEQUENCE:-11
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:8
#EXTINF:6.640,{}
/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts
#EXTINF:6.080,{}
/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts
#EXTINF:6.600,{}
/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts
#EXTINF:5.000,{}
/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts
#EXT-X-ENDLIST
......@@ -124,3 +124,4 @@
"uri": "hls_450k_video.ts"
}]
}
......
window.playlistM3U8data = '#EXTM3U\n'+
'#EXT-X-TARGETDURATION:10\n' +
'#EXT-X-VERSION:4\n' +
'#EXT-X-MEDIA-SEQUENCE:0\n' +
'#EXT-X-PLAYLIST-TYPE:VOD\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:522828@0\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:587500@522828\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:713084@1110328\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:476580@1823412\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:535612@2299992\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:207176@2835604\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:455900@3042780\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:657248@3498680\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:571708@4155928\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:485040@4727636\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:709136@5212676\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:730004@5921812\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:456276@6651816\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:468684@7108092\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:444996@7576776\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:331444@8021772\n' +
'hls_450k_video.ts\n' +
'#EXTINF:1.4167,\n' +
'#EXT-X-BYTERANGE:44556@8353216\n' +
'hls_450k_video.ts\n' +
'#EXT-X-ENDLIST';
window.playlist_allow_cache = '#EXTM3U\n'+
'#EXT-X-TARGETDURATION:10\n' +
'#EXT-X-VERSION:{{{version}}}\n' +
'{{#if allowCache}}#EXT-X-ALLOW-CACHE:{{{allowCache}}}{{/if}}\n' +
'#EXT-X-MEDIA-SEQUENCE:0\n' +
'#EXT-X-PLAYLIST-TYPE:VOD\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:522828@0\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:587500@522828\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:713084@1110328\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:476580@1823412\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:535612@2299992\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:207176@2835604\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:455900@3042780\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:657248@3498680\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:571708@4155928\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:485040@4727636\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:709136@5212676\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:730004@5921812\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:456276@6651816\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:468684@7108092\n' +
'hls_450k_video.ts' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:444996@7576776\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:331444@8021772\n' +
'hls_450k_video.ts\n' +
'#EXTINF:1.4167,\n' +
'#EXT-X-BYTERANGE:44556@8353216\n' +
'hls_450k_video.ts\n' +
'#EXT-X-ENDLIST';
#EXTM3U
#EXT-X-TARGETDURATION:10
#EXT-X-VERSION:{{{version}}}
{{#if allowCache}}#EXT-X-ALLOW-CACHE:{{{allowCache}}}{{/if}}
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-PLAYLIST-TYPE:VOD
#EXTINF:10,
#EXT-X-BYTERANGE:522828@0
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:587500@522828
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:713084@1110328
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:476580@1823412
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:535612@2299992
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:207176@2835604
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:455900@3042780
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:657248@3498680
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:571708@4155928
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:485040@4727636
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:709136@5212676
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:730004@5921812
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:456276@6651816
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:468684@7108092
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:444996@7576776
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:331444@8021772
hls_450k_video.ts
#EXTINF:1.4167,
#EXT-X-BYTERANGE:44556@8353216
hls_450k_video.ts
#EXT-X-ENDLIST
\ No newline at end of file
window.playlist_byte_range = '#EXTM3U\n'+
'#EXT-X-TARGETDURATION:10\n' +
'#EXT-X-VERSION:{{{version}}}\n' +
'#EXT-X-MEDIA-SEQUENCE:0\n' +
'#EXT-X-PLAYLIST-TYPE:VOD\n' +
'#EXTINF:10,\n' +
'{{#if byteRange}}#EXT-X-BYTERANGE:{{{byteRange}}}{{/if}}\n' +
//'#EXT-X-BYTERANGE:522828@0\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'{{#if byteRange1}}#EXT-X-BYTERANGE:{{{byteRange1}}}{{/if}}\n' +
//'#EXT-X-BYTERANGE:587500@522828\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:713084@1110328\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:476580@1823412\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:535612@2299992\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:207176@2835604\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:455900@3042780\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:657248@3498680\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:571708@4155928\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:485040@4727636\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:709136@5212676\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:730004@5921812\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:456276@6651816\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:468684@7108092\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:444996@7576776\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:331444@8021772\n' +
'hls_450k_video.ts\n' +
'#EXTINF:1.4167,\n' +
'{{#if byteRange2}}#EXT-X-BYTERANGE:{{{byteRange2}}}{{/if}}\n' +
//'#EXT-X-BYTERANGE:44556@8353216\n' +
'hls_450k_video.ts\n' +
'#EXT-X-ENDLIST';
#EXTM3U
#EXT-X-TARGETDURATION:10
#EXT-X-VERSION:{{{version}}}
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-PLAYLIST-TYPE:VOD
#EXTINF:10,
{{#if byteRange}}#EXT-X-BYTERANGE:{{{byteRange}}}{{/if}}
//#EXT-X-BYTERANGE:522828@0
hls_450k_video.ts
#EXTINF:10,
{{#if byteRange1}}#EXT-X-BYTERANGE:{{{byteRange1}}}{{/if}}
//#EXT-X-BYTERANGE:587500@522828
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:713084@1110328
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:476580@1823412
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:535612@2299992
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:207176@2835604
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:455900@3042780
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:657248@3498680
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:571708@4155928
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:485040@4727636
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:709136@5212676
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:730004@5921812
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:456276@6651816
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:468684@7108092
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:444996@7576776
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:331444@8021772
hls_450k_video.ts
#EXTINF:1.4167,
{{#if byteRange2}}#EXT-X-BYTERANGE:{{{byteRange2}}}{{/if}}
//#EXT-X-BYTERANGE:44556@8353216
hls_450k_video.ts
#EXT-X-ENDLIST
\ No newline at end of file
window.playlist_extinf_template = '#EXTM3U\n'+
'#EXT-X-TARGETDURATION:10\n' +
'#EXT-X-VERSION:{{{version}}}\n' +
'#EXT-X-MEDIA-SEQUENCE:0\n' +
'#EXT-X-PLAYLIST-TYPE:VOD\n' +
'{{#if extInf}}#EXTINF:{{{extInf}}}{{/if}}\n' +
'#EXT-X-BYTERANGE:522828@0\n' +
'{{#if segment}}{{{segment}}}\n{{/if}}' +
'{{#if extInf1}}#EXTINF:{{{extInf1}}}{{/if}}\n' +
'#EXT-X-BYTERANGE:587500@522828\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:713084@1110328\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:476580@1823412\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:535612@2299992\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:207176@2835604\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:455900@3042780\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:657248@3498680\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:571708@4155928\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:485040@4727636\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:709136@5212676\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:730004@5921812\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:456276@6651816\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:468684@7108092\n' +
'hls_450k_video.ts' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:444996@7576776\n' +
'hls_450k_video.ts\n' +
'#EXTINF:10,\n' +
'#EXT-X-BYTERANGE:331444@8021772\n' +
'hls_450k_video.ts\n' +
'{{#if extInf2}}#EXTINF:{{{extInf2}}}{{/if}}\n' +
'#EXT-X-BYTERANGE:44556@8353216\n' +
'hls_450k_video.ts\n' +
'#EXT-X-ENDLIST';
#EXTM3U
#EXT-X-TARGETDURATION:10
#EXT-X-VERSION:{{{version}}}
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-PLAYLIST-TYPE:VOD
{{#if extInf}}#EXTINF:{{{extInf}}}{{/if}}
#EXT-X-BYTERANGE:522828@0
{{#if segment}}{{{segment}}}\n{{/if}}
{{#if extInf1}}#EXTINF:{{{extInf1}}}{{/if}}
#EXT-X-BYTERANGE:587500@522828
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:713084@1110328
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:476580@1823412
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:535612@2299992
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:207176@2835604
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:455900@3042780
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:657248@3498680
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:571708@4155928
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:485040@4727636
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:709136@5212676
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:730004@5921812
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:456276@6651816
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:468684@7108092
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:444996@7576776
hls_450k_video.ts
#EXTINF:10,
#EXT-X-BYTERANGE:331444@8021772
hls_450k_video.ts
{{#if extInf2}}#EXTINF:{{{extInf2}}}{{/if}}
#EXT-X-BYTERANGE:44556@8353216
hls_450k_video.ts
#EXT-X-ENDLIST
window.playlist_media_sequence_template = '#EXTM3U\n'+
'#EXT-X-PLAYLIST-TYPE:VOD\n'+
'{{#if mediaSequence}}#EXT-X-MEDIA-SEQUENCE:{{{mediaSequence}}}{{/if}}\n'+
'{{#if mediaSequence1}}#EXT-X-MEDIA-SEQUENCE:{{{mediaSequence1}}}{{/if}}\n'+
'#EXT-X-ALLOW-CACHE:YES\n'+
'#EXT-X-TARGETDURATION:8\n'+
'#EXTINF:6.640,{}\n'+
'/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts\n'+
'#EXTINF:6.080,{}\n'+
'/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts\n'+
'#EXTINF:6.600,{}\n'+
'/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts\n'+
'#EXTINF:5.000,{}\n'+
'/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts\n'+
'#EXT-X-ENDLIST'
#EXTM3U
#EXT-X-PLAYLIST-TYPE:VOD
{{#if mediaSequence}}#EXT-X-MEDIA-SEQUENCE:{{{mediaSequence}}}{{/if}}
{{#if mediaSequence1}}#EXT-X-MEDIA-SEQUENCE:{{{mediaSequence2}}}{{/if}}
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:8
#EXTINF:6.640,{}
/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts
#EXTINF:6.080,{}
/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts
#EXTINF:6.600,{}
/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts
#EXTINF:5.000,{}
/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts
#EXT-X-ENDLIST
window.playlist_target_duration_template = '#EXTM3U\n'+
'#EXT-X-PLAYLIST-TYPE:VOD\n'+
'#EXT-X-MEDIA-SEQUENCE:0\n'+
'#EXT-X-ALLOW-CACHE:YES\n'+
'{{#if targetDuration}}#EXT-X-TARGETDURATION:{{{targetDuration}}}{{/if}}\n'+
'#EXTINF:6.640,{}\n'+
'/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts\n'+
'#EXTINF:6.080,{}\n'+
'/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts\n'+
'#EXTINF:6.600,{}\n'+
'/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts\n'+
'#EXTINF:5.000,{}\n'+
'/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts\n'+
'#EXT-X-ENDLIST'
#EXTM3U
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:YES
{{#if targetDuration}}#EXT-X-TARGETDURATION:{{{targetDuration}}}{{/if}}
#EXTINF:6.640,{}
/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts
#EXTINF:6.080,{}
/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts
#EXTINF:6.600,{}
/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts
#EXTINF:5.000,{}
/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts
#EXT-X-ENDLIST
window.playlist_type_template = '#EXTM3U\n' +
'{{#if playlistType}}#EXT-X-PLAYLIST-TYPE:{{{playlistType}}}{{/if}}\n' +
'#EXT-X-TARGETDURATION:10\n' +
'#EXTINF:10,\n' +
'/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00001.ts\n' +
'#EXTINF:10,\n' +
'/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00002.ts\n' +
'#EXTINF:10,\n' +
'/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00003.ts\n' +
'#EXTINF:10,\n' +
'/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00004.ts\n' +
'#EXTINF:10,\n' +
'/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00005.ts\n' +
'#EXTINF:8,\n' +
'/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00006.ts\n' +
'#ZEN-TOTAL-DURATION:57.9911\n' +
'#EXT-X-ENDLIST';
#EXTM3U
{{#if playlistType}}#EXT-X-PLAYLIST-TYPE:{{{playlistType}}}{{/if}}
#EXT-X-TARGETDURATION:10
#EXTINF:10,
/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00001.ts
#EXTINF:10,
/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00002.ts
#EXTINF:10,
/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00003.ts
#EXTINF:10,
/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00004.ts
#EXTINF:10,
/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00005.ts
#EXTINF:8,
/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00006.ts
#ZEN-TOTAL-DURATION:57.9911
#EXT-X-ENDLIST
{
"allowCache": true,
"mediaSequence": 11,
"playlistType": "VOD",
"targetDuration": 8,
"segments": [{
"duration": 6.64,
"uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
}, {
"duration": 6.08,
"uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
}, {
"duration": 6.6,
"uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
}, {
"duration": 5,
"uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
}]
}
#EXTM3U
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-MEDIA-SEQUENCE:11
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:8
#EXTINF:6.640,{}
/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts
#EXTINF:6.080,{}
/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts
#EXTINF:6.600,{}
/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts
#EXTINF:5.000,{}
/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts
#EXT-X-ENDLIST
......@@ -7,9 +7,6 @@
<link rel="stylesheet" href="../libs/qunit/qunit.css" media="screen">
<script src="../libs/qunit/qunit.js"></script>
<!-- handlebars.js -->
<script src="../libs/handlebars/handlebars-v1.1.2.js"></script>
<!-- video.js -->
<script src="../node_modules/video.js/dist/video-js/video.js"></script>
......@@ -25,15 +22,6 @@
<script src="../src/m3u8/m3u8-parser.js"></script>
<script src="../src/manifest-controller.js"></script>
<!-- M3U8 TEST DATA -->
<script src="manifest/playlistM3U8data.js"></script>
<script src="manifest/brightcove_playlist_m3u8.js"></script>
<script src="manifest/playlist_type_template.js"></script>
<script src="manifest/playlist_media_sequence_template.js"></script>
<script src="manifest/playlist_target_duration_template.js"></script>
<script src="manifest/playlist_extinf_template.js"></script>
<script src="manifest/playlist_allow_cache_template.js"></script>
<script src="manifest/playlist_byte_range_template.js"></script>
<script src="../tmp/manifests.js"></script>
<script src="../tmp/expected.js"></script>
......