UNPKG

48.7 kBJavaScriptView Raw
1export default {
2 "absoluteUris": {
3 "allowCache": true,
4 "mediaSequence": 0,
5 "playlistType": "VOD",
6 "segments": [
7 {
8 "duration": 10,
9 "timeline": 0,
10 "uri": "http://example.com/00001.ts"
11 },
12 {
13 "duration": 10,
14 "timeline": 0,
15 "uri": "https://example.com/00002.ts"
16 },
17 {
18 "duration": 10,
19 "timeline": 0,
20 "uri": "//example.com/00003.ts"
21 },
22 {
23 "duration": 10,
24 "timeline": 0,
25 "uri": "http://example.com/00004.ts"
26 }
27 ],
28 "targetDuration": 10,
29 "endList": true,
30 "discontinuitySequence": 0,
31 "discontinuityStarts": []
32}
33,
34 "allowCache": {
35 "allowCache": true,
36 "mediaSequence": 0,
37 "playlistType": "VOD",
38 "segments": [
39 {
40 "byterange": {
41 "length": 522828,
42 "offset": 0
43 },
44 "duration": 10,
45 "timeline": 0,
46 "uri": "hls_450k_video.ts"
47 },
48 {
49 "byterange": {
50 "length": 587500,
51 "offset": 522828
52 },
53 "duration": 10,
54 "timeline": 0,
55 "uri": "hls_450k_video.ts"
56 },
57 {
58 "byterange": {
59 "length": 713084,
60 "offset": 1110328
61 },
62 "duration": 10,
63 "timeline": 0,
64 "uri": "hls_450k_video.ts"
65 },
66 {
67 "byterange": {
68 "length": 476580,
69 "offset": 1823412
70 },
71 "duration": 10,
72 "timeline": 0,
73 "uri": "hls_450k_video.ts"
74 },
75 {
76 "byterange": {
77 "length": 535612,
78 "offset": 2299992
79 },
80 "duration": 10,
81 "timeline": 0,
82 "uri": "hls_450k_video.ts"
83 },
84 {
85 "byterange": {
86 "length": 207176,
87 "offset": 2835604
88 },
89 "duration": 10,
90 "timeline": 0,
91 "uri": "hls_450k_video.ts"
92 },
93 {
94 "byterange": {
95 "length": 455900,
96 "offset": 3042780
97 },
98 "duration": 10,
99 "timeline": 0,
100 "uri": "hls_450k_video.ts"
101 },
102 {
103 "byterange": {
104 "length": 657248,
105 "offset": 3498680
106 },
107 "duration": 10,
108 "timeline": 0,
109 "uri": "hls_450k_video.ts"
110 },
111 {
112 "byterange": {
113 "length": 571708,
114 "offset": 4155928
115 },
116 "duration": 10,
117 "timeline": 0,
118 "uri": "hls_450k_video.ts"
119 },
120 {
121 "byterange": {
122 "length": 485040,
123 "offset": 4727636
124 },
125 "duration": 10,
126 "timeline": 0,
127 "uri": "hls_450k_video.ts"
128 },
129 {
130 "byterange": {
131 "length": 709136,
132 "offset": 5212676
133 },
134 "duration": 10,
135 "timeline": 0,
136 "uri": "hls_450k_video.ts"
137 },
138 {
139 "byterange": {
140 "length": 730004,
141 "offset": 5921812
142 },
143 "duration": 10,
144 "timeline": 0,
145 "uri": "hls_450k_video.ts"
146 },
147 {
148 "byterange": {
149 "length": 456276,
150 "offset": 6651816
151 },
152 "duration": 10,
153 "timeline": 0,
154 "uri": "hls_450k_video.ts"
155 },
156 {
157 "byterange": {
158 "length": 468684,
159 "offset": 7108092
160 },
161 "duration": 10,
162 "timeline": 0,
163 "uri": "hls_450k_video.ts"
164 },
165 {
166 "byterange": {
167 "length": 444996,
168 "offset": 7576776
169 },
170 "duration": 10,
171 "timeline": 0,
172 "uri": "hls_450k_video.ts"
173 },
174 {
175 "byterange": {
176 "length": 331444,
177 "offset": 8021772
178 },
179 "duration": 10,
180 "timeline": 0,
181 "uri": "hls_450k_video.ts"
182 },
183 {
184 "byterange": {
185 "length": 44556,
186 "offset": 8353216
187 },
188 "duration": 1.4167,
189 "timeline": 0,
190 "uri": "hls_450k_video.ts"
191 }
192 ],
193 "targetDuration": 10,
194 "endList": true,
195 "discontinuitySequence": 0,
196 "discontinuityStarts": []
197}
198,
199 "allowCacheInvalid": {
200 "allowCache": true,
201 "mediaSequence": 0,
202 "playlistType": "VOD",
203 "segments": [
204 {
205 "byterange": {
206 "length": 522828,
207 "offset": 0
208 },
209 "duration": 10,
210 "timeline": 0,
211 "uri": "hls_450k_video.ts"
212 }
213 ],
214 "targetDuration": 10,
215 "endList": true,
216 "discontinuitySequence": 0,
217 "discontinuityStarts": []
218}
219,
220 "alternateAudio": {
221 allowCache: true,
222 discontinuityStarts: [],
223 mediaGroups: {
224 // TYPE
225 AUDIO: {
226 // GROUP-ID
227 "audio": {
228 // NAME
229 "English": {
230 language: 'eng',
231 autoselect: true,
232 default: true,
233 uri: "eng/prog_index.m3u8"
234 },
235 // NAME
236 "Français": {
237 language: "fre",
238 autoselect: true,
239 default: false,
240 uri: "fre/prog_index.m3u8"
241 },
242 // NAME
243 "Espanol": {
244 language: "sp",
245 autoselect: true,
246 default: false,
247 uri: "sp/prog_index.m3u8"
248 }
249 }
250 },
251 VIDEO: {},
252 "CLOSED-CAPTIONS": {},
253 SUBTITLES: {}
254 },
255 playlists: [{
256 attributes: {
257 "PROGRAM-ID": 1,
258 BANDWIDTH: 195023,
259 CODECS: "avc1.42e00a,mp4a.40.2",
260 AUDIO: 'audio'
261 },
262 timeline: 0,
263 uri: "lo/prog_index.m3u8"
264 }, {
265 attributes: {
266 "PROGRAM-ID": 1,
267 BANDWIDTH: 591680,
268 CODECS: "avc1.42e01e,mp4a.40.2",
269 AUDIO: 'audio'
270 },
271 timeline: 0,
272 uri: "hi/prog_index.m3u8"
273 }]
274}
275,
276 "alternateVideo": {
277 allowCache: true,
278 discontinuityStarts: [],
279 mediaGroups: {
280 AUDIO: {
281 aac: {
282 English: {
283 autoselect: true,
284 default: true,
285 language: "eng",
286 uri: "eng/prog_index.m3u8"
287 }
288 }
289 },
290 VIDEO: {
291 "500kbs": {
292 Angle1: {
293 autoselect: true,
294 default: true
295 },
296 Angle2: {
297 autoselect: true,
298 default: false,
299 uri: "Angle2/500kbs/prog_index.m3u8"
300 },
301 Angle3: {
302 autoselect: true,
303 default: false,
304 uri: "Angle3/500kbs/prog_index.m3u8"
305 }
306 }
307 },
308 "CLOSED-CAPTIONS": {},
309 SUBTITLES: {}
310 },
311 playlists: [{
312 attributes: {
313 "PROGRAM-ID": 1,
314 BANDWIDTH: 754857,
315 CODECS: "mp4a.40.2,avc1.4d401e",
316 AUDIO: "aac",
317 VIDEO: "500kbs"
318 },
319 timeline: 0,
320 uri: "Angle1/500kbs/prog_index.m3u8"
321 }]
322}
323,
324 "brightcove": {
325 "allowCache": true,
326 "playlists": [
327 {
328 "attributes": {
329 "PROGRAM-ID": 1,
330 "BANDWIDTH": 240000,
331 "RESOLUTION": {
332 "width": 396,
333 "height": 224
334 }
335 },
336 "timeline": 0,
337 "uri": "http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824686811001&videoId=1824650741001"
338 },
339 {
340 "attributes": {
341 "PROGRAM-ID": 1,
342 "BANDWIDTH": 40000
343 },
344 "timeline": 0,
345 "uri": "http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824683759001&videoId=1824650741001"
346 },
347 {
348 "attributes": {
349 "PROGRAM-ID": 1,
350 "BANDWIDTH": 440000,
351 "RESOLUTION": {
352 "width": 396,
353 "height": 224
354 }
355 },
356 "timeline": 0,
357 "uri": "http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824686593001&videoId=1824650741001"
358 },
359 {
360 "attributes": {
361 "PROGRAM-ID": 1,
362 "BANDWIDTH": 1928000,
363 "RESOLUTION": {
364 "width": 960,
365 "height": 540
366 }
367 },
368 "timeline": 0,
369 "uri": "http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824687660001&videoId=1824650741001"
370 }
371 ],
372 "discontinuityStarts": [],
373 "mediaGroups": {
374 "VIDEO": {},
375 "AUDIO": {},
376 "CLOSED-CAPTIONS": {},
377 "SUBTITLES": {}
378 }
379}
380,
381 "byteRange": {
382 "allowCache": true,
383 "mediaSequence": 0,
384 "playlistType": "VOD",
385 "segments": [
386 {
387 "duration": 10,
388 "timeline": 0,
389 "uri": "hls_450k_video.ts"
390 },
391 {
392 "byterange": {
393 "length": 587500,
394 "offset": 522828
395 },
396 "duration": 10,
397 "timeline": 0,
398 "uri": "hls_450k_video.ts"
399 },
400 {
401 "byterange": {
402 "length": 713084,
403 "offset": 0
404 },
405 "duration": 10,
406 "timeline": 0,
407 "uri": "hls_450k_video2.ts"
408 },
409 {
410 "byterange": {
411 "length": 476580,
412 "offset": 1823412
413 },
414 "duration": 10,
415 "timeline": 0,
416 "uri": "hls_450k_video.ts"
417 },
418 {
419 "byterange": {
420 "length": 535612,
421 "offset": 2299992
422 },
423 "duration": 10,
424 "timeline": 0,
425 "uri": "hls_450k_video.ts"
426 },
427 {
428 "byterange": {
429 "length": 207176,
430 "offset": 2835604
431 },
432 "duration": 10,
433 "timeline": 0,
434 "uri": "hls_450k_video.ts"
435 },
436 {
437 "byterange": {
438 "length": 455900,
439 "offset": 3042780
440 },
441 "duration": 10,
442 "timeline": 0,
443 "uri": "hls_450k_video.ts"
444 },
445 {
446 "byterange": {
447 "length": 657248,
448 "offset": 3498680
449 },
450 "duration": 10,
451 "timeline": 0,
452 "uri": "hls_450k_video.ts"
453 },
454 {
455 "byterange": {
456 "length": 571708,
457 "offset": 4155928
458 },
459 "duration": 10,
460 "timeline": 0,
461 "uri": "hls_450k_video.ts"
462 },
463 {
464 "byterange": {
465 "length": 485040,
466 "offset": 4727636
467 },
468 "duration": 10,
469 "timeline": 0,
470 "uri": "hls_450k_video.ts"
471 },
472 {
473 "byterange": {
474 "length": 709136,
475 "offset": 5212676
476 },
477 "duration": 10,
478 "timeline": 0,
479 "uri": "hls_450k_video.ts"
480 },
481 {
482 "byterange": {
483 "length": 730004,
484 "offset": 5921812
485 },
486 "duration": 10,
487 "timeline": 0,
488 "uri": "hls_450k_video.ts"
489 },
490 {
491 "byterange": {
492 "length": 456276,
493 "offset": 6651816
494 },
495 "duration": 10,
496 "timeline": 0,
497 "uri": "hls_450k_video.ts"
498 },
499 {
500 "byterange": {
501 "length": 468684,
502 "offset": 7108092
503 },
504 "duration": 10,
505 "timeline": 0,
506 "uri": "hls_450k_video.ts"
507 },
508 {
509 "byterange": {
510 "length": 444996,
511 "offset": 7576776
512 },
513 "duration": 10,
514 "timeline": 0,
515 "uri": "hls_450k_video.ts"
516 },
517 {
518 "byterange": {
519 "length": 331444,
520 "offset": 8021772
521 },
522 "duration": 10,
523 "timeline": 0,
524 "uri": "hls_450k_video.ts"
525 },
526 {
527 "byterange": {
528 "length": 44556,
529 "offset": 8353216
530 },
531 "duration": 1.4167,
532 "timeline": 0,
533 "uri": "hls_450k_video.ts"
534 }
535 ],
536 "targetDuration": 10,
537 "endList": true,
538 "discontinuitySequence": 0,
539 "discontinuityStarts": []
540}
541,
542 "demuxed": {
543 allowCache: true,
544 discontinuityStarts: [],
545 mediaGroups: {
546 // TYPE
547 AUDIO: {
548 // GROUP-ID
549 "audio": {
550 // NAME
551 "en": {
552 language: 'en',
553 autoselect: true,
554 default: true,
555 uri: "audio.m3u8"
556 }
557 }
558 },
559 VIDEO: {},
560 "CLOSED-CAPTIONS": {},
561 SUBTITLES: {}
562 },
563 playlists: [{
564 attributes: {
565 "PROGRAM-ID": 1,
566 BANDWIDTH: 564300,
567 CODECS: "mp4a.40.2,avc1.420015",
568 AUDIO: 'audio'
569 },
570 timeline: 0,
571 uri: "video.m3u8"
572 }]
573}
574,
575 "disallowCache": {
576 "allowCache": false,
577 "mediaSequence": 0,
578 "playlistType": "VOD",
579 "segments": [
580 {
581 "byterange": {
582 "length": 522828,
583 "offset": 0
584 },
585 "duration": 10,
586 "timeline": 0,
587 "uri": "hls_450k_video.ts"
588 }
589 ],
590 "targetDuration": 10,
591 "endList": true,
592 "discontinuitySequence": 0,
593 "discontinuityStarts": []
594}
595,
596 "disc-sequence": {
597 "allowCache": true,
598 "mediaSequence": 0,
599 "discontinuitySequence": 3,
600 "segments": [
601 {
602 "duration": 10,
603 "timeline": 3,
604 "uri": "001.ts"
605 },
606 {
607 "duration": 19,
608 "timeline": 3,
609 "uri": "002.ts"
610 },
611 {
612 "discontinuity": true,
613 "duration": 10,
614 "timeline": 4,
615 "uri": "003.ts"
616 },
617 {
618 "duration": 11,
619 "timeline": 4,
620 "uri": "004.ts"
621 }
622 ],
623 "targetDuration": 19,
624 "endList": true,
625 "discontinuityStarts": [2]
626}
627,
628 "discontinuity": {
629 "allowCache": true,
630 "mediaSequence": 0,
631 "discontinuitySequence": 0,
632 "segments": [
633 {
634 "duration": 10,
635 "timeline": 0,
636 "uri": "001.ts"
637 },
638 {
639 "duration": 19,
640 "timeline": 0,
641 "uri": "002.ts"
642 },
643 {
644 "discontinuity": true,
645 "duration": 10,
646 "timeline": 1,
647 "uri": "003.ts"
648 },
649 {
650 "duration": 11,
651 "timeline": 1,
652 "uri": "004.ts"
653 },
654 {
655 "discontinuity": true,
656 "duration": 10,
657 "timeline": 2,
658 "uri": "005.ts"
659 },
660 {
661 "duration": 10,
662 "timeline": 2,
663 "uri": "006.ts"
664 },
665 {
666 "duration": 10,
667 "timeline": 2,
668 "uri": "007.ts"
669 },
670 {
671 "discontinuity": true,
672 "duration": 10,
673 "timeline": 3,
674 "uri": "008.ts"
675 },
676 {
677 "duration": 16,
678 "timeline": 3,
679 "uri": "009.ts"
680 }
681 ],
682 "targetDuration": 19,
683 "endList": true,
684 "discontinuityStarts": [2, 4, 7]
685}
686,
687 "domainUris": {
688 "allowCache": true,
689 "mediaSequence": 0,
690 "playlistType": "VOD",
691 "segments": [
692 {
693 "duration": 10,
694 "timeline": 0,
695 "uri": "/00001.ts"
696 },
697 {
698 "duration": 10,
699 "timeline": 0,
700 "uri": "/subdir/00002.ts"
701 },
702 {
703 "duration": 10,
704 "timeline": 0,
705 "uri": "/00003.ts"
706 },
707 {
708 "duration": 10,
709 "timeline": 0,
710 "uri": "/00004.ts"
711 }
712 ],
713 "targetDuration": 10,
714 "endList": true,
715 "discontinuitySequence": 0,
716 "discontinuityStarts": []
717}
718,
719 "emptyAllowCache": {
720 "allowCache": true,
721 "mediaSequence": 0,
722 "playlistType": "VOD",
723 "segments": [
724 {
725 "byterange": {
726 "length": 522828,
727 "offset": 0
728 },
729 "duration": 10,
730 "timeline": 0,
731 "uri": "hls_450k_video.ts"
732 }
733 ],
734 "targetDuration": 10,
735 "endList": true,
736 "discontinuitySequence": 0,
737 "discontinuityStarts": []
738}
739,
740 "emptyMediaSequence": {
741 "allowCache": true,
742 "mediaSequence": 0,
743 "playlistType": "VOD",
744 "segments": [
745 {
746 "duration": 6.64,
747 "timeline": 0,
748 "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
749 },
750 {
751 "duration": 6.08,
752 "timeline": 0,
753 "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
754 },
755 {
756 "duration": 6.6,
757 "timeline": 0,
758 "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
759 },
760 {
761 "duration": 5,
762 "timeline": 0,
763 "uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
764 }
765 ],
766 "targetDuration": 8,
767 "endList": true,
768 "discontinuitySequence": 0,
769 "discontinuityStarts": []
770}
771,
772 "emptyPlaylistType": {
773 "allowCache": true,
774 "mediaSequence": 0,
775 "segments": [
776 {
777 "duration": 10,
778 "timeline": 0,
779 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00001.ts"
780 },
781 {
782 "duration": 10,
783 "timeline": 0,
784 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00002.ts"
785 },
786 {
787 "duration": 10,
788 "timeline": 0,
789 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00003.ts"
790 },
791 {
792 "duration": 10,
793 "timeline": 0,
794 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00004.ts"
795 },
796 {
797 "duration": 10,
798 "timeline": 0,
799 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00005.ts"
800 },
801 {
802 "duration": 8,
803 "timeline": 0,
804 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00006.ts"
805 }
806 ],
807 "targetDuration": 10,
808 "endList": true,
809 "discontinuitySequence": 0,
810 "discontinuityStarts": []
811}
812,
813 "emptyTargetDuration": {
814 "allowCache": true,
815 "playlists": [
816 {
817 "attributes": {
818 "PROGRAM-ID": 1,
819 "BANDWIDTH": 240000,
820 "RESOLUTION": {
821 "width": 396,
822 "height": 224
823 }
824 },
825 "timeline": 0,
826 "uri": "http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824686811001&videoId=1824650741001"
827 },
828 {
829 "attributes": {
830 "PROGRAM-ID": 1,
831 "BANDWIDTH": 40000
832 },
833 "timeline": 0,
834 "uri": "http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824683759001&videoId=1824650741001"
835 },
836 {
837 "attributes": {
838 "PROGRAM-ID": 1,
839 "BANDWIDTH": 440000,
840 "RESOLUTION": {
841 "width": 396,
842 "height": 224
843 }
844 },
845 "timeline": 0,
846 "uri": "http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824686593001&videoId=1824650741001"
847 },
848 {
849 "attributes": {
850 "PROGRAM-ID": 1,
851 "BANDWIDTH": 1928000,
852 "RESOLUTION": {
853 "width": 960,
854 "height": 540
855 }
856 },
857 "timeline": 0,
858 "uri": "http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824687660001&videoId=1824650741001"
859 }
860 ],
861 "discontinuityStarts": [],
862 "mediaGroups": {
863 "VIDEO": {},
864 "AUDIO": {},
865 "CLOSED-CAPTIONS": {},
866 "SUBTITLES": {}
867 }
868}
869,
870 "encrypted": {
871 "allowCache": true,
872 "mediaSequence": 7794,
873 "discontinuitySequence": 0,
874 "discontinuityStarts": [],
875 "segments": [
876 {
877 "duration": 2.833,
878 "timeline": 0,
879 "key": {
880 "method": "AES-128",
881 "uri": "https://priv.example.com/key.php?r=52"
882 },
883 "uri": "http://media.example.com/fileSequence52-A.ts"
884 },
885 {
886 "duration": 15,
887 "timeline": 0,
888 "key": {
889 "method": "AES-128",
890 "uri": "https://priv.example.com/key.php?r=52"
891 },
892 "uri": "http://media.example.com/fileSequence52-B.ts"
893 },
894 {
895 "duration": 13.333,
896 "timeline": 0,
897 "key": {
898 "method": "AES-128",
899 "uri": "https://priv.example.com/key.php?r=52"
900 },
901 "uri": "http://media.example.com/fileSequence52-C.ts"
902 },
903 {
904 "duration": 15,
905 "timeline": 0,
906 "key": {
907 "method": "AES-128",
908 "uri": "https://priv.example.com/key.php?r=53"
909 },
910 "uri": "http://media.example.com/fileSequence53-A.ts"
911 },
912 {
913 "duration": 14,
914 "timeline": 0,
915 "key": {
916 "method": "AES-128",
917 "uri": "https://priv.example.com/key.php?r=54",
918 "iv": new Uint32Array([0, 0, 331, 3063767524])
919 },
920 "uri": "http://media.example.com/fileSequence53-B.ts"
921 },
922 {
923 "duration": 15,
924 "timeline": 0,
925 "uri": "http://media.example.com/fileSequence53-B.ts"
926 }
927 ],
928 "targetDuration": 15
929}
930,
931 "event": {
932 "allowCache": true,
933 "mediaSequence": 0,
934 "playlistType": "EVENT",
935 "segments": [
936 {
937 "duration": 10,
938 "timeline": 0,
939 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00001.ts"
940 },
941 {
942 "duration": 10,
943 "timeline": 0,
944 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00002.ts"
945 },
946 {
947 "duration": 10,
948 "timeline": 0,
949 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00003.ts"
950 },
951 {
952 "duration": 10,
953 "timeline": 0,
954 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00004.ts"
955 },
956 {
957 "duration": 10,
958 "timeline": 0,
959 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00005.ts"
960 },
961 {
962 "duration": 8,
963 "timeline": 0,
964 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00006.ts"
965 }
966 ],
967 "targetDuration": 10,
968 "endList": true,
969 "discontinuitySequence": 0,
970 "discontinuityStarts": []
971}
972,
973 "extXPlaylistTypeInvalidPlaylist": {
974 "allowCache": true,
975 "mediaSequence": 1,
976 "segments": [
977 {
978 "duration": 6.64,
979 "timeline": 0,
980 "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
981 }
982 ],
983 "targetDuration": 8,
984 "endList": true,
985 "discontinuitySequence": 0,
986 "discontinuityStarts": []
987}
988,
989 "extinf": {
990 "allowCache": true,
991 "mediaSequence": 0,
992 "playlistType": "VOD",
993 "segments": [
994 {
995 "byterange": {
996 "length": 522828,
997 "offset": 0
998 },
999 "duration": 10,
1000 "timeline": 0,
1001 "uri": "hls_450k_video.ts"
1002 },
1003 {
1004 "byterange": {
1005 "length": 587500,
1006 "offset": 522828
1007 },
1008 "duration": 10,
1009 "timeline": 0,
1010 "uri": "hls_450k_video.ts"
1011 },
1012 {
1013 "byterange": {
1014 "length": 713084,
1015 "offset": 1110328
1016 },
1017 "duration": 5,
1018 "timeline": 0,
1019 "uri": "hls_450k_video.ts"
1020 },
1021 {
1022 "byterange": {
1023 "length": 476580,
1024 "offset": 1823412
1025 },
1026 "duration": 9.7,
1027 "timeline": 0,
1028 "uri": "hls_450k_video.ts"
1029 },
1030 {
1031 "byterange": {
1032 "length": 535612,
1033 "offset": 2299992
1034 },
1035 "duration": 10,
1036 "timeline": 0,
1037 "uri": "hls_450k_video.ts"
1038 },
1039 {
1040 "byterange": {
1041 "length": 207176,
1042 "offset": 2835604
1043 },
1044 "duration": 10,
1045 "timeline": 0,
1046 "uri": "hls_450k_video.ts"
1047 },
1048 {
1049 "byterange": {
1050 "length": 455900,
1051 "offset": 3042780
1052 },
1053 "duration": 10,
1054 "timeline": 0,
1055 "uri": "hls_450k_video.ts"
1056 },
1057 {
1058 "byterange": {
1059 "length": 657248,
1060 "offset": 3498680
1061 },
1062 "duration": 10,
1063 "timeline": 0,
1064 "uri": "hls_450k_video.ts"
1065 },
1066 {
1067 "byterange": {
1068 "length": 571708,
1069 "offset": 4155928
1070 },
1071 "duration": 10,
1072 "timeline": 0,
1073 "uri": "hls_450k_video.ts"
1074 },
1075 {
1076 "byterange": {
1077 "length": 485040,
1078 "offset": 4727636
1079 },
1080 "duration": 10,
1081 "timeline": 0,
1082 "uri": "hls_450k_video.ts"
1083 },
1084 {
1085 "byterange": {
1086 "length": 709136,
1087 "offset": 5212676
1088 },
1089 "duration": 10,
1090 "timeline": 0,
1091 "uri": "hls_450k_video.ts"
1092 },
1093 {
1094 "byterange": {
1095 "length": 730004,
1096 "offset": 5921812
1097 },
1098 "duration": 10,
1099 "timeline": 0,
1100 "uri": "hls_450k_video.ts"
1101 },
1102 {
1103 "byterange": {
1104 "length": 456276,
1105 "offset": 6651816
1106 },
1107 "duration": 10,
1108 "timeline": 0,
1109 "uri": "hls_450k_video.ts"
1110 },
1111 {
1112 "byterange": {
1113 "length": 468684,
1114 "offset": 7108092
1115 },
1116 "duration": 10,
1117 "timeline": 0,
1118 "uri": "hls_450k_video.ts"
1119 },
1120 {
1121 "byterange": {
1122 "length": 444996,
1123 "offset": 7576776
1124 },
1125 "duration": 10,
1126 "timeline": 0,
1127 "uri": "hls_450k_video.ts"
1128 },
1129 {
1130 "byterange": {
1131 "length": 331444,
1132 "offset": 8021772
1133 },
1134 "duration": 10,
1135 "timeline": 0,
1136 "uri": "hls_450k_video.ts"
1137 },
1138 {
1139 "byterange": {
1140 "length": 44556,
1141 "offset": 8353216
1142 },
1143 "duration": 10,
1144 "timeline": 0,
1145 "uri": "hls_450k_video.ts"
1146 }
1147 ],
1148 "targetDuration": 10,
1149 "endList": true,
1150 "discontinuitySequence": 0,
1151 "discontinuityStarts": []
1152}
1153,
1154 "invalidAllowCache": {
1155 "allowCache": true,
1156 "mediaSequence": 0,
1157 "playlistType": "VOD",
1158 "segments": [
1159 {
1160 "byterange": {
1161 "length": 522828,
1162 "offset": 0
1163 },
1164 "duration": 10,
1165 "timeline": 0,
1166 "uri": "hls_450k_video.ts"
1167 }
1168 ],
1169 "targetDuration": 10,
1170 "endList": true,
1171 "discontinuitySequence": 0,
1172 "discontinuityStarts": []
1173}
1174,
1175 "invalidMediaSequence": {
1176 "allowCache": true,
1177 "mediaSequence": 0,
1178 "playlistType": "VOD",
1179 "segments": [
1180 {
1181 "duration": 6.64,
1182 "timeline": 0,
1183 "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
1184 },
1185 {
1186 "duration": 6.08,
1187 "timeline": 0,
1188 "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
1189 },
1190 {
1191 "duration": 6.6,
1192 "timeline": 0,
1193 "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
1194 },
1195 {
1196 "duration": 5,
1197 "timeline": 0,
1198 "uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
1199 }
1200 ],
1201 "targetDuration": 8,
1202 "endList": true,
1203 "discontinuitySequence": 0,
1204 "discontinuityStarts": []
1205}
1206,
1207 "invalidPlaylistType": {
1208 "allowCache": true,
1209 "mediaSequence": 0,
1210 "segments": [
1211 {
1212 "duration": 10,
1213 "timeline": 0,
1214 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00001.ts"
1215 },
1216 {
1217 "duration": 10,
1218 "timeline": 0,
1219 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00002.ts"
1220 },
1221 {
1222 "duration": 10,
1223 "timeline": 0,
1224 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00003.ts"
1225 },
1226 {
1227 "duration": 10,
1228 "timeline": 0,
1229 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00004.ts"
1230 },
1231 {
1232 "duration": 10,
1233 "timeline": 0,
1234 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00005.ts"
1235 },
1236 {
1237 "duration": 8,
1238 "timeline": 0,
1239 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00006.ts"
1240 }
1241 ],
1242 "targetDuration": 10,
1243 "endList": true,
1244 "discontinuitySequence": 0,
1245 "discontinuityStarts": []
1246}
1247,
1248 "invalidTargetDuration": {
1249 "allowCache": true,
1250 "mediaSequence": 0,
1251 "playlistType": "VOD",
1252 "segments": [
1253 {
1254 "byterange": {
1255 "length": 522828,
1256 "offset": 0
1257 },
1258 "duration": 10,
1259 "timeline": 0,
1260 "uri": "hls_450k_video.ts"
1261 },
1262 {
1263 "byterange": {
1264 "length": 587500,
1265 "offset": 522828
1266 },
1267 "duration": 10,
1268 "timeline": 0,
1269 "uri": "hls_450k_video.ts"
1270 },
1271 {
1272 "byterange": {
1273 "length": 713084,
1274 "offset": 1110328
1275 },
1276 "duration": 10,
1277 "timeline": 0,
1278 "uri": "hls_450k_video.ts"
1279 },
1280 {
1281 "byterange": {
1282 "length": 476580,
1283 "offset": 1823412
1284 },
1285 "duration": 10,
1286 "timeline": 0,
1287 "uri": "hls_450k_video.ts"
1288 },
1289 {
1290 "byterange": {
1291 "length": 535612,
1292 "offset": 2299992
1293 },
1294 "duration": 10,
1295 "timeline": 0,
1296 "uri": "hls_450k_video.ts"
1297 },
1298 {
1299 "byterange": {
1300 "length": 207176,
1301 "offset": 2835604
1302 },
1303 "duration": 10,
1304 "timeline": 0,
1305 "uri": "hls_450k_video.ts"
1306 },
1307 {
1308 "byterange": {
1309 "length": 455900,
1310 "offset": 3042780
1311 },
1312 "duration": 10,
1313 "timeline": 0,
1314 "uri": "hls_450k_video.ts"
1315 },
1316 {
1317 "byterange": {
1318 "length": 657248,
1319 "offset": 3498680
1320 },
1321 "duration": 10,
1322 "timeline": 0,
1323 "uri": "hls_450k_video.ts"
1324 },
1325 {
1326 "byterange": {
1327 "length": 571708,
1328 "offset": 4155928
1329 },
1330 "duration": 10,
1331 "timeline": 0,
1332 "uri": "hls_450k_video.ts"
1333 },
1334 {
1335 "byterange": {
1336 "length": 485040,
1337 "offset": 4727636
1338 },
1339 "duration": 10,
1340 "timeline": 0,
1341 "uri": "hls_450k_video.ts"
1342 },
1343 {
1344 "byterange": {
1345 "length": 709136,
1346 "offset": 5212676
1347 },
1348 "duration": 10,
1349 "timeline": 0,
1350 "uri": "hls_450k_video.ts"
1351 },
1352 {
1353 "byterange": {
1354 "length": 730004,
1355 "offset": 5921812
1356 },
1357 "duration": 10,
1358 "timeline": 0,
1359 "uri": "hls_450k_video.ts"
1360 },
1361 {
1362 "byterange": {
1363 "length": 456276,
1364 "offset": 6651816
1365 },
1366 "duration": 10,
1367 "timeline": 0,
1368 "uri": "hls_450k_video.ts"
1369 },
1370 {
1371 "byterange": {
1372 "length": 468684,
1373 "offset": 7108092
1374 },
1375 "duration": 10,
1376 "timeline": 0,
1377 "uri": "hls_450k_video.ts"
1378 },
1379 {
1380 "byterange": {
1381 "length": 444996,
1382 "offset": 7576776
1383 },
1384 "duration": 10,
1385 "timeline": 0,
1386 "uri": "hls_450k_video.ts"
1387 },
1388 {
1389 "byterange": {
1390 "length": 331444,
1391 "offset": 8021772
1392 },
1393 "duration": 10,
1394 "timeline": 0,
1395 "uri": "hls_450k_video.ts"
1396 },
1397 {
1398 "byterange": {
1399 "length": 44556,
1400 "offset": 8353216
1401 },
1402 "duration": 1.4167,
1403 "timeline": 0,
1404 "uri": "hls_450k_video.ts"
1405 }
1406 ],
1407 "endList": true,
1408 "discontinuitySequence": 0,
1409 "discontinuityStarts": []
1410}
1411,
1412 "liveMissingSegmentDuration": {
1413 "allowCache": true,
1414 "mediaSequence": 0,
1415 "playlistType": "VOD",
1416 "segments": [
1417 {
1418 "duration": 6.64,
1419 "timeline": 0,
1420 "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
1421 },
1422 {
1423 "duration": 8,
1424 "timeline": 0,
1425 "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
1426 },
1427 {
1428 "duration": 8,
1429 "timeline": 0,
1430 "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
1431 }
1432 ],
1433 "targetDuration": 8,
1434 "discontinuitySequence": 0,
1435 "discontinuityStarts": []
1436}
1437,
1438 "liveStart30sBefore": {
1439 "allowCache": true,
1440 "mediaSequence": 0,
1441 "segments": [
1442 {
1443 "duration": 10,
1444 "timeline": 0,
1445 "uri": "001.ts"
1446 },
1447 {
1448 "duration": 19,
1449 "timeline": 0,
1450 "uri": "002.ts"
1451 },
1452 {
1453 "duration": 10,
1454 "timeline": 0,
1455 "uri": "003.ts"
1456 },
1457 {
1458 "duration": 11,
1459 "timeline": 0,
1460 "uri": "004.ts"
1461 },
1462 {
1463 "duration": 10,
1464 "timeline": 0,
1465 "uri": "005.ts"
1466 },
1467 {
1468 "duration": 10,
1469 "timeline": 0,
1470 "uri": "006.ts"
1471 },
1472 {
1473 "duration": 10,
1474 "timeline": 0,
1475 "uri": "007.ts"
1476 },
1477 {
1478 "duration": 10,
1479 "timeline": 0,
1480 "uri": "008.ts"
1481 },
1482 {
1483 "duration": 16,
1484 "timeline": 0,
1485 "uri": "009.ts"
1486 }
1487 ],
1488 "targetDuration": 10,
1489 "discontinuitySequence": 0,
1490 "discontinuityStarts": []
1491}
1492,
1493 "manifestExtTTargetdurationNegative": {
1494 "allowCache": true,
1495 "mediaSequence": 0,
1496 "segments": [
1497 {
1498 "duration": 10,
1499 "timeline": 0,
1500 "uri": "/test/ts-files/zencoder/gogo/00001.ts"
1501 }
1502 ],
1503 "endList": true,
1504 "discontinuitySequence": 0,
1505 "discontinuityStarts": []
1506}
1507,
1508 "manifestExtXEndlistEarly": {
1509 "allowCache": true,
1510 "mediaSequence": 0,
1511 "segments": [
1512 {
1513 "duration": 10,
1514 "timeline": 0,
1515 "uri": "/test/ts-files/zencoder/gogo/00001.ts"
1516 },
1517 {
1518 "duration": 10,
1519 "timeline": 0,
1520 "uri": "/test/ts-files/zencoder/gogo/00002.ts"
1521 },
1522 {
1523 "duration": 10,
1524 "timeline": 0,
1525 "uri": "/test/ts-files/zencoder/gogo/00003.ts"
1526 },
1527 {
1528 "duration": 10,
1529 "timeline": 0,
1530 "uri": "/test/ts-files/zencoder/gogo/00004.ts"
1531 },
1532 {
1533 "duration": 10,
1534 "timeline": 0,
1535 "uri": "/test/ts-files/zencoder/gogo/00005.ts"
1536 }
1537 ],
1538 "targetDuration": 10,
1539 "endList": true,
1540 "discontinuitySequence": 0,
1541 "discontinuityStarts": []
1542}
1543,
1544 "manifestNoExtM3u": {
1545 "allowCache": true,
1546 "mediaSequence": 0,
1547 "segments": [
1548 {
1549 "duration": 10,
1550 "timeline": 0,
1551 "uri": "/test/ts-files/zencoder/gogo/00001.ts"
1552 }
1553 ],
1554 "targetDuration": 10,
1555 "endList": true,
1556 "discontinuitySequence": 0,
1557 "discontinuityStarts": []
1558}
1559,
1560 "master": {
1561 "allowCache": true,
1562 "playlists": [
1563 {
1564 "attributes": {
1565 "PROGRAM-ID": 1,
1566 "BANDWIDTH": 240000,
1567 "RESOLUTION": {
1568 "width": 396,
1569 "height": 224
1570 }
1571 },
1572 "timeline": 0,
1573 "uri": "media.m3u8"
1574 },
1575 {
1576 "attributes": {
1577 "PROGRAM-ID": 1,
1578 "BANDWIDTH": 40000
1579 },
1580 "timeline": 0,
1581 "uri": "media1.m3u8"
1582 },
1583 {
1584 "attributes": {
1585 "PROGRAM-ID": 1,
1586 "BANDWIDTH": 440000,
1587 "RESOLUTION": {
1588 "width": 396,
1589 "height": 224
1590 }
1591 },
1592 "timeline": 0,
1593 "uri": "media2.m3u8"
1594 },
1595 {
1596 "attributes": {
1597 "PROGRAM-ID": 1,
1598 "BANDWIDTH": 1928000,
1599 "RESOLUTION": {
1600 "width": 960,
1601 "height": 540
1602 }
1603 },
1604 "timeline": 0,
1605 "uri": "media3.m3u8"
1606 }
1607 ],
1608 "discontinuityStarts": [],
1609 "mediaGroups": {
1610 "VIDEO": {},
1611 "AUDIO": {},
1612 "CLOSED-CAPTIONS": {},
1613 "SUBTITLES": {}
1614 }
1615}
1616,
1617 "media": {
1618 "allowCache": true,
1619 "mediaSequence": 0,
1620 "playlistType": "VOD",
1621 "segments": [
1622 {
1623 "duration": 10,
1624 "timeline": 0,
1625 "uri": "media-00001.ts"
1626 },
1627 {
1628 "duration": 10,
1629 "timeline": 0,
1630 "uri": "media-00002.ts"
1631 },
1632 {
1633 "duration": 10,
1634 "timeline": 0,
1635 "uri": "media-00003.ts"
1636 },
1637 {
1638 "duration": 10,
1639 "timeline": 0,
1640 "uri": "media-00004.ts"
1641 }
1642 ],
1643 "targetDuration": 10,
1644 "endList": true,
1645 "discontinuitySequence": 0,
1646 "discontinuityStarts": []
1647}
1648,
1649 "mediaSequence": {
1650 "allowCache": true,
1651 "mediaSequence": 0,
1652 "playlistType": "VOD",
1653 "segments": [
1654 {
1655 "duration": 6.64,
1656 "timeline": 0,
1657 "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
1658 },
1659 {
1660 "duration": 6.08,
1661 "timeline": 0,
1662 "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
1663 },
1664 {
1665 "duration": 6.6,
1666 "timeline": 0,
1667 "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
1668 },
1669 {
1670 "duration": 5,
1671 "timeline": 0,
1672 "uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
1673 }
1674 ],
1675 "targetDuration": 8,
1676 "endList": true,
1677 "discontinuitySequence": 0,
1678 "discontinuityStarts": []
1679}
1680,
1681 "missingEndlist": {
1682 "allowCache": true,
1683 "mediaSequence": 0,
1684 "segments": [
1685 {
1686 "duration": 10,
1687 "timeline": 0,
1688 "uri": "00001.ts"
1689 },
1690 {
1691 "duration": 10,
1692 "timeline": 0,
1693 "uri": "00002.ts"
1694 }
1695 ],
1696 "targetDuration": 10,
1697 "discontinuitySequence": 0,
1698 "discontinuityStarts": []
1699}
1700,
1701 "missingExtinf": {
1702 "allowCache": true,
1703 "mediaSequence": 0,
1704 "playlistType": "VOD",
1705 "segments": [
1706 {
1707 "duration": 10,
1708 "timeline": 0,
1709 "uri": "hls_450k_video.ts"
1710 },
1711 {
1712 "duration": 10,
1713 "timeline": 0,
1714 "uri": "hls_450k_video.ts"
1715 },
1716 {
1717 "duration": 10,
1718 "timeline": 0,
1719 "uri": "hls_450k_video.ts"
1720 }
1721 ],
1722 "targetDuration": 10,
1723 "endList": true,
1724 "discontinuitySequence": 0,
1725 "discontinuityStarts": []
1726}
1727,
1728 "missingMediaSequence": {
1729 "allowCache": true,
1730 "mediaSequence": 0,
1731 "playlistType": "VOD",
1732 "segments": [
1733 {
1734 "duration": 6.64,
1735 "timeline": 0,
1736 "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
1737 },
1738 {
1739 "duration": 6.08,
1740 "timeline": 0,
1741 "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
1742 },
1743 {
1744 "duration": 6.6,
1745 "timeline": 0,
1746 "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
1747 },
1748 {
1749 "duration": 5,
1750 "timeline": 0,
1751 "uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
1752 }
1753 ],
1754 "targetDuration": 8,
1755 "endList": true,
1756 "discontinuitySequence": 0,
1757 "discontinuityStarts": []
1758}
1759,
1760 "missingSegmentDuration": {
1761 "allowCache": true,
1762 "mediaSequence": 0,
1763 "playlistType": "VOD",
1764 "segments": [
1765 {
1766 "duration": 6.64,
1767 "timeline": 0,
1768 "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
1769 },
1770 {
1771 "duration": 8,
1772 "timeline": 0,
1773 "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
1774 },
1775 {
1776 "duration": 8,
1777 "timeline": 0,
1778 "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
1779 },
1780 {
1781 "duration": 8,
1782 "timeline": 0,
1783 "uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
1784 }
1785 ],
1786 "targetDuration": 8,
1787 "endList": true,
1788 "discontinuitySequence": 0,
1789 "discontinuityStarts": []
1790}
1791,
1792 "multipleAudioGroups": {
1793 allowCache: true,
1794 discontinuityStarts: [],
1795 mediaGroups: {
1796 AUDIO: {
1797 "audio-lo": {
1798 "English": {
1799 autoselect: true,
1800 default: true,
1801 language: "eng",
1802 uri: "englo/prog_index.m3u8"
1803 },
1804 "Français": {
1805 autoselect: true,
1806 default: false,
1807 language: "fre",
1808 uri: "frelo/prog_index.m3u8"
1809 },
1810 "Espanol": {
1811 autoselect: true,
1812 default: false,
1813 language: "sp",
1814 uri: "splo/prog_index.m3u8"
1815 }
1816 },
1817 "audio-hi": {
1818 "English": {
1819 autoselect: true,
1820 default: true,
1821 language: "eng",
1822 uri: "eng/prog_index.m3u8"
1823 },
1824 "Français": {
1825 autoselect: true,
1826 default: false,
1827 language: "fre",
1828 uri: "fre/prog_index.m3u8"
1829 },
1830 "Espanol": {
1831 autoselect: true,
1832 default: false,
1833 language: "sp",
1834 uri: "sp/prog_index.m3u8"
1835 }
1836 }
1837 },
1838 VIDEO: {},
1839 "CLOSED-CAPTIONS": {},
1840 SUBTITLES: {}
1841 },
1842 playlists: [{
1843 attributes: {
1844 "PROGRAM-ID": 1,
1845 BANDWIDTH: 195023,
1846 CODECS: "mp4a.40.5",
1847 AUDIO: "audio-lo",
1848 },
1849 timeline: 0,
1850 uri: "lo/prog_index.m3u8"
1851 }, {
1852 attributes: {
1853 "PROGRAM-ID": 1,
1854 BANDWIDTH: 260000,
1855 CODECS: "avc1.42e01e,mp4a.40.2",
1856 AUDIO: "audio-lo"
1857 },
1858 timeline: 0,
1859 uri: "lo2/prog_index.m3u8"
1860 }, {
1861 attributes: {
1862 "PROGRAM-ID": 1,
1863 BANDWIDTH: 591680,
1864 CODECS: "mp4a.40.2, avc1.64001e",
1865 AUDIO: "audio-hi"
1866 },
1867 timeline: 0,
1868 uri: "hi/prog_index.m3u8"
1869 }, {
1870 attributes: {
1871 "PROGRAM-ID": 1,
1872 BANDWIDTH: 650000,
1873 CODECS: "avc1.42e01e,mp4a.40.2",
1874 AUDIO: "audio-hi"
1875 },
1876 timeline: 0,
1877 uri: "hi2/prog_index.m3u8"
1878 }]
1879}
1880,
1881 "multipleAudioGroupsCombinedMain": {
1882 allowCache: true,
1883 discontinuityStarts: [],
1884 mediaGroups: {
1885 AUDIO: {
1886 "audio-lo": {
1887 "English": {
1888 autoselect: true,
1889 default: true,
1890 language: "eng",
1891 },
1892 "Français": {
1893 autoselect: true,
1894 default: false,
1895 language: "fre",
1896 uri: "frelo/prog_index.m3u8"
1897 },
1898 "Espanol": {
1899 autoselect: true,
1900 default: false,
1901 language: "sp",
1902 uri: "splo/prog_index.m3u8"
1903 }
1904 },
1905 "audio-hi": {
1906 "English": {
1907 autoselect: true,
1908 default: true,
1909 language: "eng",
1910 uri: "eng/prog_index.m3u8"
1911 },
1912 "Français": {
1913 autoselect: true,
1914 default: false,
1915 language: "fre",
1916 uri: "fre/prog_index.m3u8"
1917 },
1918 "Espanol": {
1919 autoselect: true,
1920 default: false,
1921 language: "sp",
1922 uri: "sp/prog_index.m3u8"
1923 }
1924 }
1925 },
1926 VIDEO: {},
1927 "CLOSED-CAPTIONS": {},
1928 SUBTITLES: {}
1929 },
1930 playlists: [{
1931 attributes: {
1932 "PROGRAM-ID": 1,
1933 BANDWIDTH: 195023,
1934 CODECS: "mp4a.40.5",
1935 AUDIO: "audio-lo",
1936 },
1937 timeline: 0,
1938 uri: "lo/prog_index.m3u8"
1939 }, {
1940 attributes: {
1941 "PROGRAM-ID": 1,
1942 BANDWIDTH: 260000,
1943 CODECS: "avc1.42e01e,mp4a.40.2",
1944 AUDIO: "audio-lo"
1945 },
1946 timeline: 0,
1947 uri: "lo2/prog_index.m3u8"
1948 }, {
1949 attributes: {
1950 "PROGRAM-ID": 1,
1951 BANDWIDTH: 591680,
1952 CODECS: "mp4a.40.2, avc1.64001e",
1953 AUDIO: "audio-hi"
1954 },
1955 timeline: 0,
1956 uri: "hi/prog_index.m3u8"
1957 }, {
1958 attributes: {
1959 "PROGRAM-ID": 1,
1960 BANDWIDTH: 650000,
1961 CODECS: "avc1.42e01e,mp4a.40.2",
1962 AUDIO: "audio-hi"
1963 },
1964 timeline: 0,
1965 uri: "hi2/prog_index.m3u8"
1966 }]
1967}
1968,
1969 "multipleTargetDurations": {
1970 "allowCache": true,
1971 "mediaSequence": 0,
1972 "targetDuration": 10,
1973 "segments": [
1974 {
1975 "uri": "001.ts",
1976 "timeline": 0
1977 },
1978 {
1979 "uri": "002.ts",
1980 "duration": 9,
1981 "timeline": 0
1982 },
1983 {
1984 "uri": "003.ts",
1985 "duration": 7,
1986 "timeline": 0
1987 },
1988 {
1989 "uri": "004.ts",
1990 "duration": 10,
1991 "timeline": 0
1992 }
1993 ],
1994 "discontinuitySequence": 0,
1995 "discontinuityStarts": []
1996}
1997,
1998 "multipleVideo": {
1999 allowCache: true,
2000 discontinuityStarts: [],
2001 mediaGroups: {
2002 AUDIO: {
2003 aac: {
2004 English: {
2005 autoselect: true,
2006 default: true,
2007 language: "eng",
2008 uri: "eng/prog_index.m3u8"
2009 }
2010 }
2011 },
2012 VIDEO: {
2013 "200kbs": {
2014 Angle1: {
2015 autoselect: true,
2016 default: true
2017 },
2018 Angle2: {
2019 autoselect: true,
2020 default: false,
2021 uri: "Angle2/200kbs/prog_index.m3u8"
2022 },
2023 Angle3: {
2024 autoselect: true,
2025 default: false,
2026 uri: "Angle3/200kbs/prog_index.m3u8"
2027 }
2028 },
2029 "500kbs": {
2030 Angle1: {
2031 autoselect: true,
2032 default: true
2033 },
2034 Angle2: {
2035 autoselect: true,
2036 default: false,
2037 uri: "Angle2/500kbs/prog_index.m3u8"
2038 },
2039 Angle3: {
2040 autoselect: true,
2041 default: false,
2042 uri: "Angle3/500kbs/prog_index.m3u8"
2043 }
2044 }
2045 },
2046 "CLOSED-CAPTIONS": {},
2047 SUBTITLES: {}
2048 },
2049 playlists: [{
2050 attributes: {
2051 "PROGRAM-ID": 1,
2052 BANDWIDTH: 300000,
2053 CODECS: "mp4a.40.2,avc1.4d401e",
2054 AUDIO: "aac",
2055 VIDEO: "200kbs"
2056 },
2057 timeline: 0,
2058 uri: "Angle1/200kbs/prog_index.m3u"
2059 }, {
2060 attributes: {
2061 "PROGRAM-ID": 1,
2062 BANDWIDTH: 754857,
2063 CODECS: "mp4a.40.2,avc1.4d401e",
2064 AUDIO: "aac",
2065 VIDEO: "500kbs"
2066 },
2067 timeline: 0,
2068 uri: "Angle1/500kbs/prog_index.m3u8"
2069 }]
2070}
2071,
2072 "negativeMediaSequence": {
2073 "allowCache": true,
2074 "mediaSequence": -11,
2075 "playlistType": "VOD",
2076 "segments": [
2077 {
2078 "duration": 6.64,
2079 "timeline": 0,
2080 "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
2081 },
2082 {
2083 "duration": 6.08,
2084 "timeline": 0,
2085 "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
2086 },
2087 {
2088 "duration": 6.6,
2089 "timeline": 0,
2090 "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
2091 },
2092 {
2093 "duration": 5,
2094 "timeline": 0,
2095 "uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
2096 }
2097 ],
2098 "targetDuration": 8,
2099 "endList": true,
2100 "discontinuitySequence": 0,
2101 "discontinuityStarts": []
2102}
2103,
2104 "playlist": {
2105 "allowCache": true,
2106 "mediaSequence": 0,
2107 "playlistType": "VOD",
2108 "segments": [
2109 {
2110 "byterange": {
2111 "length": 522828,
2112 "offset": 0
2113 },
2114 "duration": 10,
2115 "timeline": 0,
2116 "uri": "hls_450k_video.ts"
2117 },
2118 {
2119 "byterange": {
2120 "length": 587500,
2121 "offset": 522828
2122 },
2123 "duration": 10,
2124 "timeline": 0,
2125 "uri": "hls_450k_video.ts"
2126 },
2127 {
2128 "byterange": {
2129 "length": 713084,
2130 "offset": 1110328
2131 },
2132 "duration": 10,
2133 "timeline": 0,
2134 "uri": "hls_450k_video.ts"
2135 },
2136 {
2137 "byterange": {
2138 "length": 476580,
2139 "offset": 1823412
2140 },
2141 "duration": 10,
2142 "timeline": 0,
2143 "uri": "hls_450k_video.ts"
2144 },
2145 {
2146 "byterange": {
2147 "length": 535612,
2148 "offset": 2299992
2149 },
2150 "duration": 10,
2151 "timeline": 0,
2152 "uri": "hls_450k_video.ts"
2153 },
2154 {
2155 "byterange": {
2156 "length": 207176,
2157 "offset": 2835604
2158 },
2159 "duration": 10,
2160 "timeline": 0,
2161 "uri": "hls_450k_video.ts"
2162 },
2163 {
2164 "byterange": {
2165 "length": 455900,
2166 "offset": 3042780
2167 },
2168 "duration": 10,
2169 "timeline": 0,
2170 "uri": "hls_450k_video.ts"
2171 },
2172 {
2173 "byterange": {
2174 "length": 657248,
2175 "offset": 3498680
2176 },
2177 "duration": 10,
2178 "timeline": 0,
2179 "uri": "hls_450k_video.ts"
2180 },
2181 {
2182 "byterange": {
2183 "length": 571708,
2184 "offset": 4155928
2185 },
2186 "duration": 10,
2187 "timeline": 0,
2188 "uri": "hls_450k_video.ts"
2189 },
2190 {
2191 "byterange": {
2192 "length": 485040,
2193 "offset": 4727636
2194 },
2195 "duration": 10,
2196 "timeline": 0,
2197 "uri": "hls_450k_video.ts"
2198 },
2199 {
2200 "byterange": {
2201 "length": 709136,
2202 "offset": 5212676
2203 },
2204 "duration": 10,
2205 "timeline": 0,
2206 "uri": "hls_450k_video.ts"
2207 },
2208 {
2209 "byterange": {
2210 "length": 730004,
2211 "offset": 5921812
2212 },
2213 "duration": 10,
2214 "timeline": 0,
2215 "uri": "hls_450k_video.ts"
2216 },
2217 {
2218 "byterange": {
2219 "length": 456276,
2220 "offset": 6651816
2221 },
2222 "duration": 10,
2223 "timeline": 0,
2224 "uri": "hls_450k_video.ts"
2225 },
2226 {
2227 "byterange": {
2228 "length": 468684,
2229 "offset": 7108092
2230 },
2231 "duration": 10,
2232 "timeline": 0,
2233 "uri": "hls_450k_video.ts"
2234 },
2235 {
2236 "byterange": {
2237 "length": 444996,
2238 "offset": 7576776
2239 },
2240 "duration": 10,
2241 "timeline": 0,
2242 "uri": "hls_450k_video.ts"
2243 },
2244 {
2245 "byterange": {
2246 "length": 331444,
2247 "offset": 8021772
2248 },
2249 "duration": 10,
2250 "timeline": 0,
2251 "uri": "hls_450k_video.ts"
2252 },
2253 {
2254 "byterange": {
2255 "length": 44556,
2256 "offset": 8353216
2257 },
2258 "duration": 1.4167,
2259 "timeline": 0,
2260 "uri": "hls_450k_video.ts"
2261 }
2262 ],
2263 "targetDuration": 10,
2264 "endList": true,
2265 "discontinuitySequence": 0,
2266 "discontinuityStarts": []
2267}
2268,
2269 "playlistMediaSequenceHigher": {
2270 "allowCache": true,
2271 "mediaSequence": 17,
2272 "playlistType": "VOD",
2273 "segments": [
2274 {
2275 "duration": 6.64,
2276 "timeline": 0,
2277 "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
2278 }
2279 ],
2280 "targetDuration": 8,
2281 "endList": true,
2282 "discontinuitySequence": 0,
2283 "discontinuityStarts": []
2284}
2285,
2286 "streamInfInvalid": {
2287 "allowCache": true,
2288 "playlists": [
2289 {
2290 "attributes": {
2291 "PROGRAM-ID": 1
2292 },
2293 "timeline": 0,
2294 "uri": "media.m3u8"
2295 },
2296 {
2297 "timeline": 0,
2298 "uri": "media1.m3u8"
2299 }
2300 ],
2301 "discontinuityStarts": [],
2302 "mediaGroups": {
2303 "VIDEO": {},
2304 "AUDIO": {},
2305 "CLOSED-CAPTIONS": {},
2306 "SUBTITLES": {}
2307 }
2308}
2309,
2310 "twoMediaSequences": {
2311 "allowCache": true,
2312 "mediaSequence": 11,
2313 "playlistType": "VOD",
2314 "segments": [
2315 {
2316 "duration": 6.64,
2317 "timeline": 0,
2318 "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
2319 },
2320 {
2321 "duration": 6.08,
2322 "timeline": 0,
2323 "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
2324 },
2325 {
2326 "duration": 6.6,
2327 "timeline": 0,
2328 "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
2329 },
2330 {
2331 "duration": 5,
2332 "timeline": 0,
2333 "uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
2334 }
2335 ],
2336 "targetDuration": 8,
2337 "endList": true,
2338 "discontinuitySequence": 0,
2339 "discontinuityStarts": []
2340}
2341,
2342 "versionInvalid": {
2343 "allowCache": true,
2344 "mediaSequence": 0,
2345 "playlistType": "VOD",
2346 "segments": [
2347 {
2348 "duration": 10,
2349 "timeline": 0,
2350 "uri": "hls_450k_video.ts"
2351 }
2352 ],
2353 "targetDuration": 10,
2354 "endList": true,
2355 "discontinuitySequence": 0,
2356 "discontinuityStarts": []
2357}
2358,
2359 "whiteSpace": {
2360 "allowCache": true,
2361 "mediaSequence": 0,
2362 "playlistType": "VOD",
2363 "segments": [
2364 {
2365 "duration": 10,
2366 "timeline": 0,
2367 "uri": "http://example.com/00001.ts"
2368 },
2369 {
2370 "duration": 10,
2371 "timeline": 0,
2372 "uri": "https://example.com/00002.ts"
2373 },
2374 {
2375 "duration": 10,
2376 "timeline": 0,
2377 "uri": "//example.com/00003.ts"
2378 },
2379 {
2380 "duration": 10,
2381 "timeline": 0,
2382 "uri": "http://example.com/00004.ts"
2383 }
2384 ],
2385 "targetDuration": 10,
2386 "endList": true,
2387 "discontinuitySequence": 0,
2388 "discontinuityStarts": []
2389}
2390,
2391 "zeroDuration": {
2392 "allowCache": true,
2393 "mediaSequence": 0,
2394 "playlistType": "VOD",
2395 "segments": [
2396 {
2397 "duration": 0.01,
2398 "timeline": 0,
2399 "uri": "http://example.com/00001.ts"
2400 }
2401 ],
2402 "targetDuration": 10,
2403 "endList": true,
2404 "discontinuitySequence": 0,
2405 "discontinuityStarts": []
2406}
2407
2408};