diff --git a/package.json b/package.json index d61793b86..34bf7aae8 100644 --- a/package.json +++ b/package.json @@ -74,8 +74,7 @@ "test/karma.conf.js", "scripts", "utils", - "test/test-manifests.js", - "test/test-expected.js" + "test/test-manifests.js" ] }, "files": [ diff --git a/scripts/manifest-data.js b/scripts/manifest-data.js index 5e4277e39..b2fa937f6 100644 --- a/scripts/manifest-data.js +++ b/scripts/manifest-data.js @@ -5,11 +5,9 @@ var basePath = path.resolve(__dirname, '..'); var testDataDir = path.join(basePath,'test'); var manifestDir = path.join(basePath, 'utils', 'manifest'); var manifestFilepath = path.join(testDataDir, 'test-manifests.js'); -var expectedFilepath = path.join(testDataDir, 'test-expected.js'); var build = function() { var manifests = 'export default {\n'; - var expected = 'export default {\n'; var files = fs.readdirSync(manifestDir); while (files.length > 0) { @@ -28,11 +26,6 @@ var build = function() { // strip leading spaces and the trailing '+' .slice(4, -3); manifests += ',\n'; - } else if (extname === '.js') { - // append the expected parse - expected += ' "' + path.basename(file, '.js') + '": '; - expected += fs.readFileSync(file, 'utf8'); - expected += ',\n'; } else { console.log('Unknown file ' + file + ' found in manifest dir ' + manifestDir); } @@ -42,13 +35,9 @@ var build = function() { // clean up and close the objects manifests = manifests.slice(0, -2); manifests += '\n};\n'; - expected = expected.slice(0, -2); - expected += '\n};\n'; fs.writeFileSync(manifestFilepath, manifests); - fs.writeFileSync(expectedFilepath, expected); console.log('Wrote test data file ' + manifestFilepath); - console.log('Wrote test data file ' + expectedFilepath); }; var watch = function() { @@ -65,11 +54,6 @@ var clean = function() { } catch(e) { console.log(e); } - try { - fs.unlinkSync(expectedFilepath); - } catch(e) { - console.log(e); - } } module.exports = { diff --git a/utils/manifest/absoluteUris.js b/utils/manifest/absoluteUris.js deleted file mode 100644 index e210522c0..000000000 --- a/utils/manifest/absoluteUris.js +++ /dev/null @@ -1,31 +0,0 @@ -{ - "allowCache": true, - "mediaSequence": 0, - "playlistType": "VOD", - "segments": [ - { - "duration": 10, - "timeline": 0, - "uri": "http://example.com/00001.ts" - }, - { - "duration": 10, - "timeline": 0, - "uri": "https://example.com/00002.ts" - }, - { - "duration": 10, - "timeline": 0, - "uri": "//example.com/00003.ts" - }, - { - "duration": 10, - "timeline": 0, - "uri": "http://example.com/00004.ts" - } - ], - "targetDuration": 10, - "endList": true, - "discontinuitySequence": 0, - "discontinuityStarts": [] -} diff --git a/utils/manifest/allowCache.js b/utils/manifest/allowCache.js deleted file mode 100644 index 5f9537ba0..000000000 --- a/utils/manifest/allowCache.js +++ /dev/null @@ -1,164 +0,0 @@ -{ - "allowCache": true, - "mediaSequence": 0, - "playlistType": "VOD", - "segments": [ - { - "byterange": { - "length": 522828, - "offset": 0 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 587500, - "offset": 522828 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 713084, - "offset": 1110328 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 476580, - "offset": 1823412 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 535612, - "offset": 2299992 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 207176, - "offset": 2835604 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 455900, - "offset": 3042780 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 657248, - "offset": 3498680 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 571708, - "offset": 4155928 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 485040, - "offset": 4727636 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 709136, - "offset": 5212676 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 730004, - "offset": 5921812 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 456276, - "offset": 6651816 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 468684, - "offset": 7108092 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 444996, - "offset": 7576776 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 331444, - "offset": 8021772 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 44556, - "offset": 8353216 - }, - "duration": 1.4167, - "timeline": 0, - "uri": "hls_450k_video.ts" - } - ], - "targetDuration": 10, - "endList": true, - "discontinuitySequence": 0, - "discontinuityStarts": [] -} diff --git a/utils/manifest/allowCacheInvalid.js b/utils/manifest/allowCacheInvalid.js deleted file mode 100644 index 73a46184c..000000000 --- a/utils/manifest/allowCacheInvalid.js +++ /dev/null @@ -1,20 +0,0 @@ -{ - "allowCache": true, - "mediaSequence": 0, - "playlistType": "VOD", - "segments": [ - { - "byterange": { - "length": 522828, - "offset": 0 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - } - ], - "targetDuration": 10, - "endList": true, - "discontinuitySequence": 0, - "discontinuityStarts": [] -} diff --git a/utils/manifest/alternateAudio.js b/utils/manifest/alternateAudio.js deleted file mode 100644 index cf410e095..000000000 --- a/utils/manifest/alternateAudio.js +++ /dev/null @@ -1,55 +0,0 @@ -{ - allowCache: true, - discontinuityStarts: [], - mediaGroups: { - // TYPE - AUDIO: { - // GROUP-ID - "audio": { - // NAME - "English": { - language: 'eng', - autoselect: true, - default: true, - uri: "eng/prog_index.m3u8" - }, - // NAME - "Français": { - language: "fre", - autoselect: true, - default: false, - uri: "fre/prog_index.m3u8" - }, - // NAME - "Espanol": { - language: "sp", - autoselect: true, - default: false, - uri: "sp/prog_index.m3u8" - } - } - }, - VIDEO: {}, - "CLOSED-CAPTIONS": {}, - SUBTITLES: {} - }, - playlists: [{ - attributes: { - "PROGRAM-ID": 1, - BANDWIDTH: 195023, - CODECS: "avc1.42e00a,mp4a.40.2", - AUDIO: 'audio' - }, - timeline: 0, - uri: "lo/prog_index.m3u8" - }, { - attributes: { - "PROGRAM-ID": 1, - BANDWIDTH: 591680, - CODECS: "avc1.42e01e,mp4a.40.2", - AUDIO: 'audio' - }, - timeline: 0, - uri: "hi/prog_index.m3u8" - }] -} diff --git a/utils/manifest/alternateVideo.js b/utils/manifest/alternateVideo.js deleted file mode 100644 index f51324a01..000000000 --- a/utils/manifest/alternateVideo.js +++ /dev/null @@ -1,47 +0,0 @@ -{ - allowCache: true, - discontinuityStarts: [], - mediaGroups: { - AUDIO: { - aac: { - English: { - autoselect: true, - default: true, - language: "eng", - uri: "eng/prog_index.m3u8" - } - } - }, - VIDEO: { - "500kbs": { - Angle1: { - autoselect: true, - default: true - }, - Angle2: { - autoselect: true, - default: false, - uri: "Angle2/500kbs/prog_index.m3u8" - }, - Angle3: { - autoselect: true, - default: false, - uri: "Angle3/500kbs/prog_index.m3u8" - } - } - }, - "CLOSED-CAPTIONS": {}, - SUBTITLES: {} - }, - playlists: [{ - attributes: { - "PROGRAM-ID": 1, - BANDWIDTH: 754857, - CODECS: "mp4a.40.2,avc1.4d401e", - AUDIO: "aac", - VIDEO: "500kbs" - }, - timeline: 0, - uri: "Angle1/500kbs/prog_index.m3u8" - }] -} diff --git a/utils/manifest/brightcove.js b/utils/manifest/brightcove.js deleted file mode 100644 index 7fef2cbab..000000000 --- a/utils/manifest/brightcove.js +++ /dev/null @@ -1,56 +0,0 @@ -{ - "allowCache": true, - "playlists": [ - { - "attributes": { - "PROGRAM-ID": 1, - "BANDWIDTH": 240000, - "RESOLUTION": { - "width": 396, - "height": 224 - } - }, - "timeline": 0, - "uri": "http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824686811001&videoId=1824650741001" - }, - { - "attributes": { - "PROGRAM-ID": 1, - "BANDWIDTH": 40000 - }, - "timeline": 0, - "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 - } - }, - "timeline": 0, - "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 - } - }, - "timeline": 0, - "uri": "http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824687660001&videoId=1824650741001" - } - ], - "discontinuityStarts": [], - "mediaGroups": { - "VIDEO": {}, - "AUDIO": {}, - "CLOSED-CAPTIONS": {}, - "SUBTITLES": {} - } -} diff --git a/utils/manifest/byteRange.js b/utils/manifest/byteRange.js deleted file mode 100644 index b2d4c0c98..000000000 --- a/utils/manifest/byteRange.js +++ /dev/null @@ -1,160 +0,0 @@ -{ - "allowCache": true, - "mediaSequence": 0, - "playlistType": "VOD", - "segments": [ - { - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 587500, - "offset": 522828 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 713084, - "offset": 0 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video2.ts" - }, - { - "byterange": { - "length": 476580, - "offset": 1823412 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 535612, - "offset": 2299992 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 207176, - "offset": 2835604 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 455900, - "offset": 3042780 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 657248, - "offset": 3498680 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 571708, - "offset": 4155928 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 485040, - "offset": 4727636 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 709136, - "offset": 5212676 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 730004, - "offset": 5921812 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 456276, - "offset": 6651816 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 468684, - "offset": 7108092 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 444996, - "offset": 7576776 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 331444, - "offset": 8021772 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 44556, - "offset": 8353216 - }, - "duration": 1.4167, - "timeline": 0, - "uri": "hls_450k_video.ts" - } - ], - "targetDuration": 10, - "endList": true, - "discontinuitySequence": 0, - "discontinuityStarts": [] -} diff --git a/utils/manifest/demuxed.js b/utils/manifest/demuxed.js deleted file mode 100644 index 12fcf9617..000000000 --- a/utils/manifest/demuxed.js +++ /dev/null @@ -1,32 +0,0 @@ -{ - allowCache: true, - discontinuityStarts: [], - mediaGroups: { - // TYPE - AUDIO: { - // GROUP-ID - "audio": { - // NAME - "en": { - language: 'en', - autoselect: true, - default: true, - uri: "audio.m3u8" - } - } - }, - VIDEO: {}, - "CLOSED-CAPTIONS": {}, - SUBTITLES: {} - }, - playlists: [{ - attributes: { - "PROGRAM-ID": 1, - BANDWIDTH: 564300, - CODECS: "mp4a.40.2,avc1.420015", - AUDIO: 'audio' - }, - timeline: 0, - uri: "video.m3u8" - }] -} diff --git a/utils/manifest/disallowCache.js b/utils/manifest/disallowCache.js deleted file mode 100644 index f04e5bd92..000000000 --- a/utils/manifest/disallowCache.js +++ /dev/null @@ -1,20 +0,0 @@ -{ - "allowCache": false, - "mediaSequence": 0, - "playlistType": "VOD", - "segments": [ - { - "byterange": { - "length": 522828, - "offset": 0 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - } - ], - "targetDuration": 10, - "endList": true, - "discontinuitySequence": 0, - "discontinuityStarts": [] -} diff --git a/utils/manifest/disc-sequence.js b/utils/manifest/disc-sequence.js deleted file mode 100644 index 3c8282c39..000000000 --- a/utils/manifest/disc-sequence.js +++ /dev/null @@ -1,31 +0,0 @@ -{ - "allowCache": true, - "mediaSequence": 0, - "discontinuitySequence": 3, - "segments": [ - { - "duration": 10, - "timeline": 3, - "uri": "001.ts" - }, - { - "duration": 19, - "timeline": 3, - "uri": "002.ts" - }, - { - "discontinuity": true, - "duration": 10, - "timeline": 4, - "uri": "003.ts" - }, - { - "duration": 11, - "timeline": 4, - "uri": "004.ts" - } - ], - "targetDuration": 19, - "endList": true, - "discontinuityStarts": [2] -} diff --git a/utils/manifest/discontinuity.js b/utils/manifest/discontinuity.js deleted file mode 100644 index 2c72f92b0..000000000 --- a/utils/manifest/discontinuity.js +++ /dev/null @@ -1,58 +0,0 @@ -{ - "allowCache": true, - "mediaSequence": 0, - "discontinuitySequence": 0, - "segments": [ - { - "duration": 10, - "timeline": 0, - "uri": "001.ts" - }, - { - "duration": 19, - "timeline": 0, - "uri": "002.ts" - }, - { - "discontinuity": true, - "duration": 10, - "timeline": 1, - "uri": "003.ts" - }, - { - "duration": 11, - "timeline": 1, - "uri": "004.ts" - }, - { - "discontinuity": true, - "duration": 10, - "timeline": 2, - "uri": "005.ts" - }, - { - "duration": 10, - "timeline": 2, - "uri": "006.ts" - }, - { - "duration": 10, - "timeline": 2, - "uri": "007.ts" - }, - { - "discontinuity": true, - "duration": 10, - "timeline": 3, - "uri": "008.ts" - }, - { - "duration": 16, - "timeline": 3, - "uri": "009.ts" - } - ], - "targetDuration": 19, - "endList": true, - "discontinuityStarts": [2, 4, 7] -} diff --git a/utils/manifest/domainUris.js b/utils/manifest/domainUris.js deleted file mode 100644 index dc0a01bab..000000000 --- a/utils/manifest/domainUris.js +++ /dev/null @@ -1,31 +0,0 @@ -{ - "allowCache": true, - "mediaSequence": 0, - "playlistType": "VOD", - "segments": [ - { - "duration": 10, - "timeline": 0, - "uri": "/00001.ts" - }, - { - "duration": 10, - "timeline": 0, - "uri": "/subdir/00002.ts" - }, - { - "duration": 10, - "timeline": 0, - "uri": "/00003.ts" - }, - { - "duration": 10, - "timeline": 0, - "uri": "/00004.ts" - } - ], - "targetDuration": 10, - "endList": true, - "discontinuitySequence": 0, - "discontinuityStarts": [] -} diff --git a/utils/manifest/emptyAllowCache.js b/utils/manifest/emptyAllowCache.js deleted file mode 100644 index 73a46184c..000000000 --- a/utils/manifest/emptyAllowCache.js +++ /dev/null @@ -1,20 +0,0 @@ -{ - "allowCache": true, - "mediaSequence": 0, - "playlistType": "VOD", - "segments": [ - { - "byterange": { - "length": 522828, - "offset": 0 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - } - ], - "targetDuration": 10, - "endList": true, - "discontinuitySequence": 0, - "discontinuityStarts": [] -} diff --git a/utils/manifest/emptyMediaSequence.js b/utils/manifest/emptyMediaSequence.js deleted file mode 100644 index 026260a64..000000000 --- a/utils/manifest/emptyMediaSequence.js +++ /dev/null @@ -1,31 +0,0 @@ -{ - "allowCache": true, - "mediaSequence": 0, - "playlistType": "VOD", - "segments": [ - { - "duration": 6.64, - "timeline": 0, - "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts" - }, - { - "duration": 6.08, - "timeline": 0, - "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts" - }, - { - "duration": 6.6, - "timeline": 0, - "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts" - }, - { - "duration": 5, - "timeline": 0, - "uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts" - } - ], - "targetDuration": 8, - "endList": true, - "discontinuitySequence": 0, - "discontinuityStarts": [] -} diff --git a/utils/manifest/emptyPlaylistType.js b/utils/manifest/emptyPlaylistType.js deleted file mode 100644 index e18f9bb07..000000000 --- a/utils/manifest/emptyPlaylistType.js +++ /dev/null @@ -1,40 +0,0 @@ -{ - "allowCache": true, - "mediaSequence": 0, - "segments": [ - { - "duration": 10, - "timeline": 0, - "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00001.ts" - }, - { - "duration": 10, - "timeline": 0, - "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00002.ts" - }, - { - "duration": 10, - "timeline": 0, - "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00003.ts" - }, - { - "duration": 10, - "timeline": 0, - "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00004.ts" - }, - { - "duration": 10, - "timeline": 0, - "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00005.ts" - }, - { - "duration": 8, - "timeline": 0, - "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00006.ts" - } - ], - "targetDuration": 10, - "endList": true, - "discontinuitySequence": 0, - "discontinuityStarts": [] -} diff --git a/utils/manifest/emptyTargetDuration.js b/utils/manifest/emptyTargetDuration.js deleted file mode 100644 index 7fef2cbab..000000000 --- a/utils/manifest/emptyTargetDuration.js +++ /dev/null @@ -1,56 +0,0 @@ -{ - "allowCache": true, - "playlists": [ - { - "attributes": { - "PROGRAM-ID": 1, - "BANDWIDTH": 240000, - "RESOLUTION": { - "width": 396, - "height": 224 - } - }, - "timeline": 0, - "uri": "http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824686811001&videoId=1824650741001" - }, - { - "attributes": { - "PROGRAM-ID": 1, - "BANDWIDTH": 40000 - }, - "timeline": 0, - "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 - } - }, - "timeline": 0, - "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 - } - }, - "timeline": 0, - "uri": "http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824687660001&videoId=1824650741001" - } - ], - "discontinuityStarts": [], - "mediaGroups": { - "VIDEO": {}, - "AUDIO": {}, - "CLOSED-CAPTIONS": {}, - "SUBTITLES": {} - } -} diff --git a/utils/manifest/encrypted.js b/utils/manifest/encrypted.js deleted file mode 100644 index 89bedf436..000000000 --- a/utils/manifest/encrypted.js +++ /dev/null @@ -1,60 +0,0 @@ -{ - "allowCache": true, - "mediaSequence": 7794, - "discontinuitySequence": 0, - "discontinuityStarts": [], - "segments": [ - { - "duration": 2.833, - "timeline": 0, - "key": { - "method": "AES-128", - "uri": "https://priv.example.com/key.php?r=52" - }, - "uri": "http://media.example.com/fileSequence52-A.ts" - }, - { - "duration": 15, - "timeline": 0, - "key": { - "method": "AES-128", - "uri": "https://priv.example.com/key.php?r=52" - }, - "uri": "http://media.example.com/fileSequence52-B.ts" - }, - { - "duration": 13.333, - "timeline": 0, - "key": { - "method": "AES-128", - "uri": "https://priv.example.com/key.php?r=52" - }, - "uri": "http://media.example.com/fileSequence52-C.ts" - }, - { - "duration": 15, - "timeline": 0, - "key": { - "method": "AES-128", - "uri": "https://priv.example.com/key.php?r=53" - }, - "uri": "http://media.example.com/fileSequence53-A.ts" - }, - { - "duration": 14, - "timeline": 0, - "key": { - "method": "AES-128", - "uri": "https://priv.example.com/key.php?r=54", - "iv": new Uint32Array([0, 0, 331, 3063767524]) - }, - "uri": "http://media.example.com/fileSequence53-B.ts" - }, - { - "duration": 15, - "timeline": 0, - "uri": "http://media.example.com/fileSequence53-B.ts" - } - ], - "targetDuration": 15 -} diff --git a/utils/manifest/event.js b/utils/manifest/event.js deleted file mode 100644 index 28009d48c..000000000 --- a/utils/manifest/event.js +++ /dev/null @@ -1,41 +0,0 @@ -{ - "allowCache": true, - "mediaSequence": 0, - "playlistType": "EVENT", - "segments": [ - { - "duration": 10, - "timeline": 0, - "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00001.ts" - }, - { - "duration": 10, - "timeline": 0, - "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00002.ts" - }, - { - "duration": 10, - "timeline": 0, - "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00003.ts" - }, - { - "duration": 10, - "timeline": 0, - "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00004.ts" - }, - { - "duration": 10, - "timeline": 0, - "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00005.ts" - }, - { - "duration": 8, - "timeline": 0, - "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00006.ts" - } - ], - "targetDuration": 10, - "endList": true, - "discontinuitySequence": 0, - "discontinuityStarts": [] -} diff --git a/utils/manifest/extXPlaylistTypeInvalidPlaylist.js b/utils/manifest/extXPlaylistTypeInvalidPlaylist.js deleted file mode 100644 index 9d754d5ed..000000000 --- a/utils/manifest/extXPlaylistTypeInvalidPlaylist.js +++ /dev/null @@ -1,15 +0,0 @@ -{ - "allowCache": true, - "mediaSequence": 1, - "segments": [ - { - "duration": 6.64, - "timeline": 0, - "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts" - } - ], - "targetDuration": 8, - "endList": true, - "discontinuitySequence": 0, - "discontinuityStarts": [] -} diff --git a/utils/manifest/extinf.js b/utils/manifest/extinf.js deleted file mode 100644 index cdabe6968..000000000 --- a/utils/manifest/extinf.js +++ /dev/null @@ -1,164 +0,0 @@ -{ - "allowCache": true, - "mediaSequence": 0, - "playlistType": "VOD", - "segments": [ - { - "byterange": { - "length": 522828, - "offset": 0 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 587500, - "offset": 522828 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 713084, - "offset": 1110328 - }, - "duration": 5, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 476580, - "offset": 1823412 - }, - "duration": 9.7, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 535612, - "offset": 2299992 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 207176, - "offset": 2835604 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 455900, - "offset": 3042780 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 657248, - "offset": 3498680 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 571708, - "offset": 4155928 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 485040, - "offset": 4727636 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 709136, - "offset": 5212676 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 730004, - "offset": 5921812 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 456276, - "offset": 6651816 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 468684, - "offset": 7108092 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 444996, - "offset": 7576776 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 331444, - "offset": 8021772 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 44556, - "offset": 8353216 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - } - ], - "targetDuration": 10, - "endList": true, - "discontinuitySequence": 0, - "discontinuityStarts": [] -} diff --git a/utils/manifest/invalidAllowCache.js b/utils/manifest/invalidAllowCache.js deleted file mode 100644 index 73a46184c..000000000 --- a/utils/manifest/invalidAllowCache.js +++ /dev/null @@ -1,20 +0,0 @@ -{ - "allowCache": true, - "mediaSequence": 0, - "playlistType": "VOD", - "segments": [ - { - "byterange": { - "length": 522828, - "offset": 0 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - } - ], - "targetDuration": 10, - "endList": true, - "discontinuitySequence": 0, - "discontinuityStarts": [] -} diff --git a/utils/manifest/invalidMediaSequence.js b/utils/manifest/invalidMediaSequence.js deleted file mode 100644 index 026260a64..000000000 --- a/utils/manifest/invalidMediaSequence.js +++ /dev/null @@ -1,31 +0,0 @@ -{ - "allowCache": true, - "mediaSequence": 0, - "playlistType": "VOD", - "segments": [ - { - "duration": 6.64, - "timeline": 0, - "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts" - }, - { - "duration": 6.08, - "timeline": 0, - "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts" - }, - { - "duration": 6.6, - "timeline": 0, - "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts" - }, - { - "duration": 5, - "timeline": 0, - "uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts" - } - ], - "targetDuration": 8, - "endList": true, - "discontinuitySequence": 0, - "discontinuityStarts": [] -} diff --git a/utils/manifest/invalidPlaylistType.js b/utils/manifest/invalidPlaylistType.js deleted file mode 100644 index e18f9bb07..000000000 --- a/utils/manifest/invalidPlaylistType.js +++ /dev/null @@ -1,40 +0,0 @@ -{ - "allowCache": true, - "mediaSequence": 0, - "segments": [ - { - "duration": 10, - "timeline": 0, - "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00001.ts" - }, - { - "duration": 10, - "timeline": 0, - "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00002.ts" - }, - { - "duration": 10, - "timeline": 0, - "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00003.ts" - }, - { - "duration": 10, - "timeline": 0, - "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00004.ts" - }, - { - "duration": 10, - "timeline": 0, - "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00005.ts" - }, - { - "duration": 8, - "timeline": 0, - "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00006.ts" - } - ], - "targetDuration": 10, - "endList": true, - "discontinuitySequence": 0, - "discontinuityStarts": [] -} diff --git a/utils/manifest/invalidTargetDuration.js b/utils/manifest/invalidTargetDuration.js deleted file mode 100644 index 6f0e2266a..000000000 --- a/utils/manifest/invalidTargetDuration.js +++ /dev/null @@ -1,163 +0,0 @@ -{ - "allowCache": true, - "mediaSequence": 0, - "playlistType": "VOD", - "segments": [ - { - "byterange": { - "length": 522828, - "offset": 0 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 587500, - "offset": 522828 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 713084, - "offset": 1110328 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 476580, - "offset": 1823412 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 535612, - "offset": 2299992 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 207176, - "offset": 2835604 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 455900, - "offset": 3042780 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 657248, - "offset": 3498680 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 571708, - "offset": 4155928 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 485040, - "offset": 4727636 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 709136, - "offset": 5212676 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 730004, - "offset": 5921812 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 456276, - "offset": 6651816 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 468684, - "offset": 7108092 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 444996, - "offset": 7576776 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 331444, - "offset": 8021772 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 44556, - "offset": 8353216 - }, - "duration": 1.4167, - "timeline": 0, - "uri": "hls_450k_video.ts" - } - ], - "endList": true, - "discontinuitySequence": 0, - "discontinuityStarts": [] -} diff --git a/utils/manifest/liveMissingSegmentDuration.js b/utils/manifest/liveMissingSegmentDuration.js deleted file mode 100644 index 8cc0175d5..000000000 --- a/utils/manifest/liveMissingSegmentDuration.js +++ /dev/null @@ -1,25 +0,0 @@ -{ - "allowCache": true, - "mediaSequence": 0, - "playlistType": "VOD", - "segments": [ - { - "duration": 6.64, - "timeline": 0, - "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts" - }, - { - "duration": 8, - "timeline": 0, - "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts" - }, - { - "duration": 8, - "timeline": 0, - "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts" - } - ], - "targetDuration": 8, - "discontinuitySequence": 0, - "discontinuityStarts": [] -} diff --git a/utils/manifest/liveStart30sBefore.js b/utils/manifest/liveStart30sBefore.js deleted file mode 100644 index 84b8cf706..000000000 --- a/utils/manifest/liveStart30sBefore.js +++ /dev/null @@ -1,54 +0,0 @@ -{ - "allowCache": true, - "mediaSequence": 0, - "segments": [ - { - "duration": 10, - "timeline": 0, - "uri": "001.ts" - }, - { - "duration": 19, - "timeline": 0, - "uri": "002.ts" - }, - { - "duration": 10, - "timeline": 0, - "uri": "003.ts" - }, - { - "duration": 11, - "timeline": 0, - "uri": "004.ts" - }, - { - "duration": 10, - "timeline": 0, - "uri": "005.ts" - }, - { - "duration": 10, - "timeline": 0, - "uri": "006.ts" - }, - { - "duration": 10, - "timeline": 0, - "uri": "007.ts" - }, - { - "duration": 10, - "timeline": 0, - "uri": "008.ts" - }, - { - "duration": 16, - "timeline": 0, - "uri": "009.ts" - } - ], - "targetDuration": 10, - "discontinuitySequence": 0, - "discontinuityStarts": [] -} diff --git a/utils/manifest/manifestExtTTargetdurationNegative.js b/utils/manifest/manifestExtTTargetdurationNegative.js deleted file mode 100644 index c5a1a75c0..000000000 --- a/utils/manifest/manifestExtTTargetdurationNegative.js +++ /dev/null @@ -1,14 +0,0 @@ -{ - "allowCache": true, - "mediaSequence": 0, - "segments": [ - { - "duration": 10, - "timeline": 0, - "uri": "/test/ts-files/zencoder/gogo/00001.ts" - } - ], - "endList": true, - "discontinuitySequence": 0, - "discontinuityStarts": [] -} diff --git a/utils/manifest/manifestExtXEndlistEarly.js b/utils/manifest/manifestExtXEndlistEarly.js deleted file mode 100644 index c07c58555..000000000 --- a/utils/manifest/manifestExtXEndlistEarly.js +++ /dev/null @@ -1,35 +0,0 @@ -{ - "allowCache": true, - "mediaSequence": 0, - "segments": [ - { - "duration": 10, - "timeline": 0, - "uri": "/test/ts-files/zencoder/gogo/00001.ts" - }, - { - "duration": 10, - "timeline": 0, - "uri": "/test/ts-files/zencoder/gogo/00002.ts" - }, - { - "duration": 10, - "timeline": 0, - "uri": "/test/ts-files/zencoder/gogo/00003.ts" - }, - { - "duration": 10, - "timeline": 0, - "uri": "/test/ts-files/zencoder/gogo/00004.ts" - }, - { - "duration": 10, - "timeline": 0, - "uri": "/test/ts-files/zencoder/gogo/00005.ts" - } - ], - "targetDuration": 10, - "endList": true, - "discontinuitySequence": 0, - "discontinuityStarts": [] -} diff --git a/utils/manifest/manifestNoExtM3u.js b/utils/manifest/manifestNoExtM3u.js deleted file mode 100644 index 649b282b8..000000000 --- a/utils/manifest/manifestNoExtM3u.js +++ /dev/null @@ -1,15 +0,0 @@ -{ - "allowCache": true, - "mediaSequence": 0, - "segments": [ - { - "duration": 10, - "timeline": 0, - "uri": "/test/ts-files/zencoder/gogo/00001.ts" - } - ], - "targetDuration": 10, - "endList": true, - "discontinuitySequence": 0, - "discontinuityStarts": [] -} diff --git a/utils/manifest/master.js b/utils/manifest/master.js deleted file mode 100644 index 134a7ee03..000000000 --- a/utils/manifest/master.js +++ /dev/null @@ -1,56 +0,0 @@ -{ - "allowCache": true, - "playlists": [ - { - "attributes": { - "PROGRAM-ID": 1, - "BANDWIDTH": 240000, - "RESOLUTION": { - "width": 396, - "height": 224 - } - }, - "timeline": 0, - "uri": "media.m3u8" - }, - { - "attributes": { - "PROGRAM-ID": 1, - "BANDWIDTH": 40000 - }, - "timeline": 0, - "uri": "media1.m3u8" - }, - { - "attributes": { - "PROGRAM-ID": 1, - "BANDWIDTH": 440000, - "RESOLUTION": { - "width": 396, - "height": 224 - } - }, - "timeline": 0, - "uri": "media2.m3u8" - }, - { - "attributes": { - "PROGRAM-ID": 1, - "BANDWIDTH": 1928000, - "RESOLUTION": { - "width": 960, - "height": 540 - } - }, - "timeline": 0, - "uri": "media3.m3u8" - } - ], - "discontinuityStarts": [], - "mediaGroups": { - "VIDEO": {}, - "AUDIO": {}, - "CLOSED-CAPTIONS": {}, - "SUBTITLES": {} - } -} diff --git a/utils/manifest/media.js b/utils/manifest/media.js deleted file mode 100644 index 61dd5a5af..000000000 --- a/utils/manifest/media.js +++ /dev/null @@ -1,31 +0,0 @@ -{ - "allowCache": true, - "mediaSequence": 0, - "playlistType": "VOD", - "segments": [ - { - "duration": 10, - "timeline": 0, - "uri": "media-00001.ts" - }, - { - "duration": 10, - "timeline": 0, - "uri": "media-00002.ts" - }, - { - "duration": 10, - "timeline": 0, - "uri": "media-00003.ts" - }, - { - "duration": 10, - "timeline": 0, - "uri": "media-00004.ts" - } - ], - "targetDuration": 10, - "endList": true, - "discontinuitySequence": 0, - "discontinuityStarts": [] -} diff --git a/utils/manifest/mediaSequence.js b/utils/manifest/mediaSequence.js deleted file mode 100644 index 026260a64..000000000 --- a/utils/manifest/mediaSequence.js +++ /dev/null @@ -1,31 +0,0 @@ -{ - "allowCache": true, - "mediaSequence": 0, - "playlistType": "VOD", - "segments": [ - { - "duration": 6.64, - "timeline": 0, - "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts" - }, - { - "duration": 6.08, - "timeline": 0, - "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts" - }, - { - "duration": 6.6, - "timeline": 0, - "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts" - }, - { - "duration": 5, - "timeline": 0, - "uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts" - } - ], - "targetDuration": 8, - "endList": true, - "discontinuitySequence": 0, - "discontinuityStarts": [] -} diff --git a/utils/manifest/missingEndlist.js b/utils/manifest/missingEndlist.js deleted file mode 100644 index ba0d7f5e5..000000000 --- a/utils/manifest/missingEndlist.js +++ /dev/null @@ -1,19 +0,0 @@ -{ - "allowCache": true, - "mediaSequence": 0, - "segments": [ - { - "duration": 10, - "timeline": 0, - "uri": "00001.ts" - }, - { - "duration": 10, - "timeline": 0, - "uri": "00002.ts" - } - ], - "targetDuration": 10, - "discontinuitySequence": 0, - "discontinuityStarts": [] -} diff --git a/utils/manifest/missingExtinf.js b/utils/manifest/missingExtinf.js deleted file mode 100644 index 9be79a352..000000000 --- a/utils/manifest/missingExtinf.js +++ /dev/null @@ -1,26 +0,0 @@ -{ - "allowCache": true, - "mediaSequence": 0, - "playlistType": "VOD", - "segments": [ - { - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - } - ], - "targetDuration": 10, - "endList": true, - "discontinuitySequence": 0, - "discontinuityStarts": [] -} diff --git a/utils/manifest/missingMediaSequence.js b/utils/manifest/missingMediaSequence.js deleted file mode 100644 index 026260a64..000000000 --- a/utils/manifest/missingMediaSequence.js +++ /dev/null @@ -1,31 +0,0 @@ -{ - "allowCache": true, - "mediaSequence": 0, - "playlistType": "VOD", - "segments": [ - { - "duration": 6.64, - "timeline": 0, - "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts" - }, - { - "duration": 6.08, - "timeline": 0, - "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts" - }, - { - "duration": 6.6, - "timeline": 0, - "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts" - }, - { - "duration": 5, - "timeline": 0, - "uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts" - } - ], - "targetDuration": 8, - "endList": true, - "discontinuitySequence": 0, - "discontinuityStarts": [] -} diff --git a/utils/manifest/missingSegmentDuration.js b/utils/manifest/missingSegmentDuration.js deleted file mode 100644 index 4fde21ec7..000000000 --- a/utils/manifest/missingSegmentDuration.js +++ /dev/null @@ -1,31 +0,0 @@ -{ - "allowCache": true, - "mediaSequence": 0, - "playlistType": "VOD", - "segments": [ - { - "duration": 6.64, - "timeline": 0, - "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts" - }, - { - "duration": 8, - "timeline": 0, - "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts" - }, - { - "duration": 8, - "timeline": 0, - "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts" - }, - { - "duration": 8, - "timeline": 0, - "uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts" - } - ], - "targetDuration": 8, - "endList": true, - "discontinuitySequence": 0, - "discontinuityStarts": [] -} diff --git a/utils/manifest/multipleAudioGroups.js b/utils/manifest/multipleAudioGroups.js deleted file mode 100644 index 6996f8052..000000000 --- a/utils/manifest/multipleAudioGroups.js +++ /dev/null @@ -1,88 +0,0 @@ -{ - allowCache: true, - discontinuityStarts: [], - mediaGroups: { - AUDIO: { - "audio-lo": { - "English": { - autoselect: true, - default: true, - language: "eng", - uri: "englo/prog_index.m3u8" - }, - "Français": { - autoselect: true, - default: false, - language: "fre", - uri: "frelo/prog_index.m3u8" - }, - "Espanol": { - autoselect: true, - default: false, - language: "sp", - uri: "splo/prog_index.m3u8" - } - }, - "audio-hi": { - "English": { - autoselect: true, - default: true, - language: "eng", - uri: "eng/prog_index.m3u8" - }, - "Français": { - autoselect: true, - default: false, - language: "fre", - uri: "fre/prog_index.m3u8" - }, - "Espanol": { - autoselect: true, - default: false, - language: "sp", - uri: "sp/prog_index.m3u8" - } - } - }, - VIDEO: {}, - "CLOSED-CAPTIONS": {}, - SUBTITLES: {} - }, - playlists: [{ - attributes: { - "PROGRAM-ID": 1, - BANDWIDTH: 195023, - CODECS: "mp4a.40.5", - AUDIO: "audio-lo", - }, - timeline: 0, - uri: "lo/prog_index.m3u8" - }, { - attributes: { - "PROGRAM-ID": 1, - BANDWIDTH: 260000, - CODECS: "avc1.42e01e,mp4a.40.2", - AUDIO: "audio-lo" - }, - timeline: 0, - uri: "lo2/prog_index.m3u8" - }, { - attributes: { - "PROGRAM-ID": 1, - BANDWIDTH: 591680, - CODECS: "mp4a.40.2, avc1.64001e", - AUDIO: "audio-hi" - }, - timeline: 0, - uri: "hi/prog_index.m3u8" - }, { - attributes: { - "PROGRAM-ID": 1, - BANDWIDTH: 650000, - CODECS: "avc1.42e01e,mp4a.40.2", - AUDIO: "audio-hi" - }, - timeline: 0, - uri: "hi2/prog_index.m3u8" - }] -} diff --git a/utils/manifest/multipleAudioGroupsCombinedMain.js b/utils/manifest/multipleAudioGroupsCombinedMain.js deleted file mode 100644 index 120398452..000000000 --- a/utils/manifest/multipleAudioGroupsCombinedMain.js +++ /dev/null @@ -1,87 +0,0 @@ -{ - allowCache: true, - discontinuityStarts: [], - mediaGroups: { - AUDIO: { - "audio-lo": { - "English": { - autoselect: true, - default: true, - language: "eng", - }, - "Français": { - autoselect: true, - default: false, - language: "fre", - uri: "frelo/prog_index.m3u8" - }, - "Espanol": { - autoselect: true, - default: false, - language: "sp", - uri: "splo/prog_index.m3u8" - } - }, - "audio-hi": { - "English": { - autoselect: true, - default: true, - language: "eng", - uri: "eng/prog_index.m3u8" - }, - "Français": { - autoselect: true, - default: false, - language: "fre", - uri: "fre/prog_index.m3u8" - }, - "Espanol": { - autoselect: true, - default: false, - language: "sp", - uri: "sp/prog_index.m3u8" - } - } - }, - VIDEO: {}, - "CLOSED-CAPTIONS": {}, - SUBTITLES: {} - }, - playlists: [{ - attributes: { - "PROGRAM-ID": 1, - BANDWIDTH: 195023, - CODECS: "mp4a.40.5", - AUDIO: "audio-lo", - }, - timeline: 0, - uri: "lo/prog_index.m3u8" - }, { - attributes: { - "PROGRAM-ID": 1, - BANDWIDTH: 260000, - CODECS: "avc1.42e01e,mp4a.40.2", - AUDIO: "audio-lo" - }, - timeline: 0, - uri: "lo2/prog_index.m3u8" - }, { - attributes: { - "PROGRAM-ID": 1, - BANDWIDTH: 591680, - CODECS: "mp4a.40.2, avc1.64001e", - AUDIO: "audio-hi" - }, - timeline: 0, - uri: "hi/prog_index.m3u8" - }, { - attributes: { - "PROGRAM-ID": 1, - BANDWIDTH: 650000, - CODECS: "avc1.42e01e,mp4a.40.2", - AUDIO: "audio-hi" - }, - timeline: 0, - uri: "hi2/prog_index.m3u8" - }] -} diff --git a/utils/manifest/multipleTargetDurations.js b/utils/manifest/multipleTargetDurations.js deleted file mode 100644 index ca191fcd5..000000000 --- a/utils/manifest/multipleTargetDurations.js +++ /dev/null @@ -1,28 +0,0 @@ -{ - "allowCache": true, - "mediaSequence": 0, - "targetDuration": 10, - "segments": [ - { - "uri": "001.ts", - "timeline": 0 - }, - { - "uri": "002.ts", - "duration": 9, - "timeline": 0 - }, - { - "uri": "003.ts", - "duration": 7, - "timeline": 0 - }, - { - "uri": "004.ts", - "duration": 10, - "timeline": 0 - } - ], - "discontinuitySequence": 0, - "discontinuityStarts": [] -} diff --git a/utils/manifest/multipleVideo.js b/utils/manifest/multipleVideo.js deleted file mode 100644 index 1b4779025..000000000 --- a/utils/manifest/multipleVideo.js +++ /dev/null @@ -1,73 +0,0 @@ -{ - allowCache: true, - discontinuityStarts: [], - mediaGroups: { - AUDIO: { - aac: { - English: { - autoselect: true, - default: true, - language: "eng", - uri: "eng/prog_index.m3u8" - } - } - }, - VIDEO: { - "200kbs": { - Angle1: { - autoselect: true, - default: true - }, - Angle2: { - autoselect: true, - default: false, - uri: "Angle2/200kbs/prog_index.m3u8" - }, - Angle3: { - autoselect: true, - default: false, - uri: "Angle3/200kbs/prog_index.m3u8" - } - }, - "500kbs": { - Angle1: { - autoselect: true, - default: true - }, - Angle2: { - autoselect: true, - default: false, - uri: "Angle2/500kbs/prog_index.m3u8" - }, - Angle3: { - autoselect: true, - default: false, - uri: "Angle3/500kbs/prog_index.m3u8" - } - } - }, - "CLOSED-CAPTIONS": {}, - SUBTITLES: {} - }, - playlists: [{ - attributes: { - "PROGRAM-ID": 1, - BANDWIDTH: 300000, - CODECS: "mp4a.40.2,avc1.4d401e", - AUDIO: "aac", - VIDEO: "200kbs" - }, - timeline: 0, - uri: "Angle1/200kbs/prog_index.m3u" - }, { - attributes: { - "PROGRAM-ID": 1, - BANDWIDTH: 754857, - CODECS: "mp4a.40.2,avc1.4d401e", - AUDIO: "aac", - VIDEO: "500kbs" - }, - timeline: 0, - uri: "Angle1/500kbs/prog_index.m3u8" - }] -} diff --git a/utils/manifest/negativeMediaSequence.js b/utils/manifest/negativeMediaSequence.js deleted file mode 100644 index 9a56b33da..000000000 --- a/utils/manifest/negativeMediaSequence.js +++ /dev/null @@ -1,31 +0,0 @@ -{ - "allowCache": true, - "mediaSequence": -11, - "playlistType": "VOD", - "segments": [ - { - "duration": 6.64, - "timeline": 0, - "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts" - }, - { - "duration": 6.08, - "timeline": 0, - "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts" - }, - { - "duration": 6.6, - "timeline": 0, - "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts" - }, - { - "duration": 5, - "timeline": 0, - "uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts" - } - ], - "targetDuration": 8, - "endList": true, - "discontinuitySequence": 0, - "discontinuityStarts": [] -} diff --git a/utils/manifest/playlist.js b/utils/manifest/playlist.js deleted file mode 100644 index 5f9537ba0..000000000 --- a/utils/manifest/playlist.js +++ /dev/null @@ -1,164 +0,0 @@ -{ - "allowCache": true, - "mediaSequence": 0, - "playlistType": "VOD", - "segments": [ - { - "byterange": { - "length": 522828, - "offset": 0 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 587500, - "offset": 522828 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 713084, - "offset": 1110328 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 476580, - "offset": 1823412 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 535612, - "offset": 2299992 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 207176, - "offset": 2835604 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 455900, - "offset": 3042780 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 657248, - "offset": 3498680 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 571708, - "offset": 4155928 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 485040, - "offset": 4727636 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 709136, - "offset": 5212676 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 730004, - "offset": 5921812 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 456276, - "offset": 6651816 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 468684, - "offset": 7108092 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 444996, - "offset": 7576776 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 331444, - "offset": 8021772 - }, - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - }, - { - "byterange": { - "length": 44556, - "offset": 8353216 - }, - "duration": 1.4167, - "timeline": 0, - "uri": "hls_450k_video.ts" - } - ], - "targetDuration": 10, - "endList": true, - "discontinuitySequence": 0, - "discontinuityStarts": [] -} diff --git a/utils/manifest/playlistMediaSequenceHigher.js b/utils/manifest/playlistMediaSequenceHigher.js deleted file mode 100644 index 3ea59730a..000000000 --- a/utils/manifest/playlistMediaSequenceHigher.js +++ /dev/null @@ -1,16 +0,0 @@ -{ - "allowCache": true, - "mediaSequence": 17, - "playlistType": "VOD", - "segments": [ - { - "duration": 6.64, - "timeline": 0, - "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts" - } - ], - "targetDuration": 8, - "endList": true, - "discontinuitySequence": 0, - "discontinuityStarts": [] -} diff --git a/utils/manifest/streamInfInvalid.js b/utils/manifest/streamInfInvalid.js deleted file mode 100644 index fe5d9f649..000000000 --- a/utils/manifest/streamInfInvalid.js +++ /dev/null @@ -1,23 +0,0 @@ -{ - "allowCache": true, - "playlists": [ - { - "attributes": { - "PROGRAM-ID": 1 - }, - "timeline": 0, - "uri": "media.m3u8" - }, - { - "timeline": 0, - "uri": "media1.m3u8" - } - ], - "discontinuityStarts": [], - "mediaGroups": { - "VIDEO": {}, - "AUDIO": {}, - "CLOSED-CAPTIONS": {}, - "SUBTITLES": {} - } -} diff --git a/utils/manifest/twoMediaSequences.js b/utils/manifest/twoMediaSequences.js deleted file mode 100644 index 6465911b4..000000000 --- a/utils/manifest/twoMediaSequences.js +++ /dev/null @@ -1,31 +0,0 @@ -{ - "allowCache": true, - "mediaSequence": 11, - "playlistType": "VOD", - "segments": [ - { - "duration": 6.64, - "timeline": 0, - "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts" - }, - { - "duration": 6.08, - "timeline": 0, - "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts" - }, - { - "duration": 6.6, - "timeline": 0, - "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts" - }, - { - "duration": 5, - "timeline": 0, - "uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts" - } - ], - "targetDuration": 8, - "endList": true, - "discontinuitySequence": 0, - "discontinuityStarts": [] -} diff --git a/utils/manifest/versionInvalid.js b/utils/manifest/versionInvalid.js deleted file mode 100644 index 96f7b31dd..000000000 --- a/utils/manifest/versionInvalid.js +++ /dev/null @@ -1,16 +0,0 @@ -{ - "allowCache": true, - "mediaSequence": 0, - "playlistType": "VOD", - "segments": [ - { - "duration": 10, - "timeline": 0, - "uri": "hls_450k_video.ts" - } - ], - "targetDuration": 10, - "endList": true, - "discontinuitySequence": 0, - "discontinuityStarts": [] -} diff --git a/utils/manifest/whiteSpace.js b/utils/manifest/whiteSpace.js deleted file mode 100644 index e210522c0..000000000 --- a/utils/manifest/whiteSpace.js +++ /dev/null @@ -1,31 +0,0 @@ -{ - "allowCache": true, - "mediaSequence": 0, - "playlistType": "VOD", - "segments": [ - { - "duration": 10, - "timeline": 0, - "uri": "http://example.com/00001.ts" - }, - { - "duration": 10, - "timeline": 0, - "uri": "https://example.com/00002.ts" - }, - { - "duration": 10, - "timeline": 0, - "uri": "//example.com/00003.ts" - }, - { - "duration": 10, - "timeline": 0, - "uri": "http://example.com/00004.ts" - } - ], - "targetDuration": 10, - "endList": true, - "discontinuitySequence": 0, - "discontinuityStarts": [] -} diff --git a/utils/manifest/zeroDuration.js b/utils/manifest/zeroDuration.js deleted file mode 100644 index 36b9da33b..000000000 --- a/utils/manifest/zeroDuration.js +++ /dev/null @@ -1,16 +0,0 @@ -{ - "allowCache": true, - "mediaSequence": 0, - "playlistType": "VOD", - "segments": [ - { - "duration": 0.01, - "timeline": 0, - "uri": "http://example.com/00001.ts" - } - ], - "targetDuration": 10, - "endList": true, - "discontinuitySequence": 0, - "discontinuityStarts": [] -}