test-expected.js 59 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924
  1. export 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. segments: []
  275. }
  276. ,
  277. "alternateVideo": {
  278. allowCache: true,
  279. discontinuityStarts: [],
  280. mediaGroups: {
  281. AUDIO: {
  282. aac: {
  283. English: {
  284. autoselect: true,
  285. default: true,
  286. language: "eng",
  287. uri: "eng/prog_index.m3u8"
  288. }
  289. }
  290. },
  291. VIDEO: {
  292. "500kbs": {
  293. Angle1: {
  294. autoselect: true,
  295. default: true
  296. },
  297. Angle2: {
  298. autoselect: true,
  299. default: false,
  300. uri: "Angle2/500kbs/prog_index.m3u8"
  301. },
  302. Angle3: {
  303. autoselect: true,
  304. default: false,
  305. uri: "Angle3/500kbs/prog_index.m3u8"
  306. }
  307. }
  308. },
  309. "CLOSED-CAPTIONS": {},
  310. SUBTITLES: {}
  311. },
  312. playlists: [{
  313. attributes: {
  314. "PROGRAM-ID": 1,
  315. BANDWIDTH: 754857,
  316. CODECS: "mp4a.40.2,avc1.4d401e",
  317. AUDIO: "aac",
  318. VIDEO: "500kbs"
  319. },
  320. timeline: 0,
  321. uri: "Angle1/500kbs/prog_index.m3u8"
  322. }],
  323. segments: []
  324. }
  325. ,
  326. "brightcove": {
  327. "allowCache": true,
  328. "playlists": [
  329. {
  330. "attributes": {
  331. "PROGRAM-ID": 1,
  332. "BANDWIDTH": 240000,
  333. "RESOLUTION": {
  334. "width": 396,
  335. "height": 224
  336. }
  337. },
  338. "timeline": 0,
  339. "uri": "http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824686811001&videoId=1824650741001"
  340. },
  341. {
  342. "attributes": {
  343. "PROGRAM-ID": 1,
  344. "BANDWIDTH": 40000
  345. },
  346. "timeline": 0,
  347. "uri": "http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824683759001&videoId=1824650741001"
  348. },
  349. {
  350. "attributes": {
  351. "PROGRAM-ID": 1,
  352. "BANDWIDTH": 440000,
  353. "RESOLUTION": {
  354. "width": 396,
  355. "height": 224
  356. }
  357. },
  358. "timeline": 0,
  359. "uri": "http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824686593001&videoId=1824650741001"
  360. },
  361. {
  362. "attributes": {
  363. "PROGRAM-ID": 1,
  364. "BANDWIDTH": 1928000,
  365. "RESOLUTION": {
  366. "width": 960,
  367. "height": 540
  368. }
  369. },
  370. "timeline": 0,
  371. "uri": "http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824687660001&videoId=1824650741001"
  372. }
  373. ],
  374. "discontinuityStarts": [],
  375. "mediaGroups": {
  376. "VIDEO": {},
  377. "AUDIO": {},
  378. "CLOSED-CAPTIONS": {},
  379. "SUBTITLES": {}
  380. },
  381. "segments": []
  382. }
  383. ,
  384. "byteRange": {
  385. "allowCache": true,
  386. "mediaSequence": 0,
  387. "playlistType": "VOD",
  388. "segments": [
  389. {
  390. "duration": 10,
  391. "timeline": 0,
  392. "uri": "hls_450k_video.ts"
  393. },
  394. {
  395. "byterange": {
  396. "length": 587500,
  397. "offset": 522828
  398. },
  399. "duration": 10,
  400. "timeline": 0,
  401. "uri": "hls_450k_video.ts"
  402. },
  403. {
  404. "byterange": {
  405. "length": 713084,
  406. "offset": 0
  407. },
  408. "duration": 10,
  409. "timeline": 0,
  410. "uri": "hls_450k_video2.ts"
  411. },
  412. {
  413. "byterange": {
  414. "length": 476580,
  415. "offset": 1823412
  416. },
  417. "duration": 10,
  418. "timeline": 0,
  419. "uri": "hls_450k_video.ts"
  420. },
  421. {
  422. "byterange": {
  423. "length": 535612,
  424. "offset": 2299992
  425. },
  426. "duration": 10,
  427. "timeline": 0,
  428. "uri": "hls_450k_video.ts"
  429. },
  430. {
  431. "byterange": {
  432. "length": 207176,
  433. "offset": 2835604
  434. },
  435. "duration": 10,
  436. "timeline": 0,
  437. "uri": "hls_450k_video.ts"
  438. },
  439. {
  440. "byterange": {
  441. "length": 455900,
  442. "offset": 3042780
  443. },
  444. "duration": 10,
  445. "timeline": 0,
  446. "uri": "hls_450k_video.ts"
  447. },
  448. {
  449. "byterange": {
  450. "length": 657248,
  451. "offset": 3498680
  452. },
  453. "duration": 10,
  454. "timeline": 0,
  455. "uri": "hls_450k_video.ts"
  456. },
  457. {
  458. "byterange": {
  459. "length": 571708,
  460. "offset": 4155928
  461. },
  462. "duration": 10,
  463. "timeline": 0,
  464. "uri": "hls_450k_video.ts"
  465. },
  466. {
  467. "byterange": {
  468. "length": 485040,
  469. "offset": 4727636
  470. },
  471. "duration": 10,
  472. "timeline": 0,
  473. "uri": "hls_450k_video.ts"
  474. },
  475. {
  476. "byterange": {
  477. "length": 709136,
  478. "offset": 5212676
  479. },
  480. "duration": 10,
  481. "timeline": 0,
  482. "uri": "hls_450k_video.ts"
  483. },
  484. {
  485. "byterange": {
  486. "length": 730004,
  487. "offset": 5921812
  488. },
  489. "duration": 10,
  490. "timeline": 0,
  491. "uri": "hls_450k_video.ts"
  492. },
  493. {
  494. "byterange": {
  495. "length": 456276,
  496. "offset": 6651816
  497. },
  498. "duration": 10,
  499. "timeline": 0,
  500. "uri": "hls_450k_video.ts"
  501. },
  502. {
  503. "byterange": {
  504. "length": 468684,
  505. "offset": 7108092
  506. },
  507. "duration": 10,
  508. "timeline": 0,
  509. "uri": "hls_450k_video.ts"
  510. },
  511. {
  512. "byterange": {
  513. "length": 444996,
  514. "offset": 7576776
  515. },
  516. "duration": 10,
  517. "timeline": 0,
  518. "uri": "hls_450k_video.ts"
  519. },
  520. {
  521. "byterange": {
  522. "length": 331444,
  523. "offset": 8021772
  524. },
  525. "duration": 10,
  526. "timeline": 0,
  527. "uri": "hls_450k_video.ts"
  528. },
  529. {
  530. "byterange": {
  531. "length": 44556,
  532. "offset": 8353216
  533. },
  534. "duration": 1.4167,
  535. "timeline": 0,
  536. "uri": "hls_450k_video.ts"
  537. }
  538. ],
  539. "targetDuration": 10,
  540. "endList": true,
  541. "discontinuitySequence": 0,
  542. "discontinuityStarts": []
  543. }
  544. ,
  545. "dateTime": {
  546. "allowCache": false,
  547. "mediaSequence": 0,
  548. "playlistType": "VOD",
  549. "segments": [
  550. {
  551. "duration": 10,
  552. "timeline": 0,
  553. "uri": "hls_450k_video.ts"
  554. }
  555. ],
  556. "targetDuration": 10,
  557. "endList": true,
  558. "dateTimeString": "2016-06-22T09:20:16.166-04:00",
  559. "dateTimeObject": new Date("2016-06-22T09:20:16.166-04:00"),
  560. "discontinuitySequence": 0,
  561. "discontinuityStarts": []
  562. }
  563. ,
  564. "disallowCache": {
  565. "allowCache": false,
  566. "mediaSequence": 0,
  567. "playlistType": "VOD",
  568. "segments": [
  569. {
  570. "byterange": {
  571. "length": 522828,
  572. "offset": 0
  573. },
  574. "duration": 10,
  575. "timeline": 0,
  576. "uri": "hls_450k_video.ts"
  577. }
  578. ],
  579. "targetDuration": 10,
  580. "endList": true,
  581. "discontinuitySequence": 0,
  582. "discontinuityStarts": []
  583. }
  584. ,
  585. "disc-sequence": {
  586. "allowCache": true,
  587. "mediaSequence": 0,
  588. "discontinuitySequence": 3,
  589. "segments": [
  590. {
  591. "duration": 10,
  592. "timeline": 3,
  593. "uri": "001.ts"
  594. },
  595. {
  596. "duration": 19,
  597. "timeline": 3,
  598. "uri": "002.ts"
  599. },
  600. {
  601. "discontinuity": true,
  602. "duration": 10,
  603. "timeline": 4,
  604. "uri": "003.ts"
  605. },
  606. {
  607. "duration": 11,
  608. "timeline": 4,
  609. "uri": "004.ts"
  610. }
  611. ],
  612. "targetDuration": 19,
  613. "endList": true,
  614. "discontinuityStarts": [2]
  615. }
  616. ,
  617. "discontinuity": {
  618. "allowCache": true,
  619. "mediaSequence": 0,
  620. "discontinuitySequence": 0,
  621. "segments": [
  622. {
  623. "duration": 10,
  624. "timeline": 0,
  625. "uri": "001.ts"
  626. },
  627. {
  628. "duration": 19,
  629. "timeline": 0,
  630. "uri": "002.ts"
  631. },
  632. {
  633. "discontinuity": true,
  634. "duration": 10,
  635. "timeline": 1,
  636. "uri": "003.ts"
  637. },
  638. {
  639. "duration": 11,
  640. "timeline": 1,
  641. "uri": "004.ts"
  642. },
  643. {
  644. "discontinuity": true,
  645. "duration": 10,
  646. "timeline": 2,
  647. "uri": "005.ts"
  648. },
  649. {
  650. "duration": 10,
  651. "timeline": 2,
  652. "uri": "006.ts"
  653. },
  654. {
  655. "duration": 10,
  656. "timeline": 2,
  657. "uri": "007.ts"
  658. },
  659. {
  660. "discontinuity": true,
  661. "duration": 10,
  662. "timeline": 3,
  663. "uri": "008.ts"
  664. },
  665. {
  666. "duration": 16,
  667. "timeline": 3,
  668. "uri": "009.ts"
  669. }
  670. ],
  671. "targetDuration": 19,
  672. "endList": true,
  673. "discontinuityStarts": [2, 4, 7]
  674. }
  675. ,
  676. "domainUris": {
  677. "allowCache": true,
  678. "mediaSequence": 0,
  679. "playlistType": "VOD",
  680. "segments": [
  681. {
  682. "duration": 10,
  683. "timeline": 0,
  684. "uri": "/00001.ts"
  685. },
  686. {
  687. "duration": 10,
  688. "timeline": 0,
  689. "uri": "/subdir/00002.ts"
  690. },
  691. {
  692. "duration": 10,
  693. "timeline": 0,
  694. "uri": "/00003.ts"
  695. },
  696. {
  697. "duration": 10,
  698. "timeline": 0,
  699. "uri": "/00004.ts"
  700. }
  701. ],
  702. "targetDuration": 10,
  703. "endList": true,
  704. "discontinuitySequence": 0,
  705. "discontinuityStarts": []
  706. }
  707. ,
  708. "empty": {
  709. "allowCache": true,
  710. "discontinuityStarts": [],
  711. "segments": []
  712. }
  713. ,
  714. "emptyAllowCache": {
  715. "allowCache": true,
  716. "mediaSequence": 0,
  717. "playlistType": "VOD",
  718. "segments": [
  719. {
  720. "byterange": {
  721. "length": 522828,
  722. "offset": 0
  723. },
  724. "duration": 10,
  725. "timeline": 0,
  726. "uri": "hls_450k_video.ts"
  727. }
  728. ],
  729. "targetDuration": 10,
  730. "endList": true,
  731. "discontinuitySequence": 0,
  732. "discontinuityStarts": []
  733. }
  734. ,
  735. "emptyMediaSequence": {
  736. "allowCache": true,
  737. "mediaSequence": 0,
  738. "playlistType": "VOD",
  739. "segments": [
  740. {
  741. "duration": 6.64,
  742. "timeline": 0,
  743. "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
  744. },
  745. {
  746. "duration": 6.08,
  747. "timeline": 0,
  748. "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
  749. },
  750. {
  751. "duration": 6.6,
  752. "timeline": 0,
  753. "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
  754. },
  755. {
  756. "duration": 5,
  757. "timeline": 0,
  758. "uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
  759. }
  760. ],
  761. "targetDuration": 8,
  762. "endList": true,
  763. "discontinuitySequence": 0,
  764. "discontinuityStarts": []
  765. }
  766. ,
  767. "emptyPlaylistType": {
  768. "allowCache": true,
  769. "mediaSequence": 0,
  770. "segments": [
  771. {
  772. "duration": 10,
  773. "timeline": 0,
  774. "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00001.ts"
  775. },
  776. {
  777. "duration": 10,
  778. "timeline": 0,
  779. "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00002.ts"
  780. },
  781. {
  782. "duration": 10,
  783. "timeline": 0,
  784. "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00003.ts"
  785. },
  786. {
  787. "duration": 10,
  788. "timeline": 0,
  789. "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00004.ts"
  790. },
  791. {
  792. "duration": 10,
  793. "timeline": 0,
  794. "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00005.ts"
  795. },
  796. {
  797. "duration": 8,
  798. "timeline": 0,
  799. "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00006.ts"
  800. }
  801. ],
  802. "targetDuration": 10,
  803. "endList": true,
  804. "discontinuitySequence": 0,
  805. "discontinuityStarts": []
  806. }
  807. ,
  808. "emptyTargetDuration": {
  809. "allowCache": true,
  810. "playlists": [
  811. {
  812. "attributes": {
  813. "PROGRAM-ID": 1,
  814. "BANDWIDTH": 240000,
  815. "RESOLUTION": {
  816. "width": 396,
  817. "height": 224
  818. }
  819. },
  820. "timeline": 0,
  821. "uri": "http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824686811001&videoId=1824650741001"
  822. },
  823. {
  824. "attributes": {
  825. "PROGRAM-ID": 1,
  826. "BANDWIDTH": 40000
  827. },
  828. "timeline": 0,
  829. "uri": "http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824683759001&videoId=1824650741001"
  830. },
  831. {
  832. "attributes": {
  833. "PROGRAM-ID": 1,
  834. "BANDWIDTH": 440000,
  835. "RESOLUTION": {
  836. "width": 396,
  837. "height": 224
  838. }
  839. },
  840. "timeline": 0,
  841. "uri": "http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824686593001&videoId=1824650741001"
  842. },
  843. {
  844. "attributes": {
  845. "PROGRAM-ID": 1,
  846. "BANDWIDTH": 1928000,
  847. "RESOLUTION": {
  848. "width": 960,
  849. "height": 540
  850. }
  851. },
  852. "timeline": 0,
  853. "uri": "http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=1824687660001&videoId=1824650741001"
  854. }
  855. ],
  856. "discontinuityStarts": [],
  857. "mediaGroups": {
  858. "VIDEO": {},
  859. "AUDIO": {},
  860. "CLOSED-CAPTIONS": {},
  861. "SUBTITLES": {}
  862. },
  863. "segments": []
  864. }
  865. ,
  866. "encrypted": {
  867. "allowCache": true,
  868. "mediaSequence": 7794,
  869. "discontinuitySequence": 0,
  870. "discontinuityStarts": [],
  871. "segments": [
  872. {
  873. "duration": 2.833,
  874. "timeline": 0,
  875. "key": {
  876. "method": "AES-128",
  877. "uri": "https://priv.example.com/key.php?r=52"
  878. },
  879. "uri": "http://media.example.com/fileSequence52-A.ts"
  880. },
  881. {
  882. "duration": 15,
  883. "timeline": 0,
  884. "key": {
  885. "method": "AES-128",
  886. "uri": "https://priv.example.com/key.php?r=52"
  887. },
  888. "uri": "http://media.example.com/fileSequence52-B.ts"
  889. },
  890. {
  891. "duration": 13.333,
  892. "timeline": 0,
  893. "key": {
  894. "method": "AES-128",
  895. "uri": "https://priv.example.com/key.php?r=52"
  896. },
  897. "uri": "http://media.example.com/fileSequence52-C.ts"
  898. },
  899. {
  900. "duration": 15,
  901. "timeline": 0,
  902. "key": {
  903. "method": "AES-128",
  904. "uri": "https://priv.example.com/key.php?r=53"
  905. },
  906. "uri": "http://media.example.com/fileSequence53-A.ts"
  907. },
  908. {
  909. "duration": 14,
  910. "timeline": 0,
  911. "key": {
  912. "method": "AES-128",
  913. "uri": "https://priv.example.com/key.php?r=54",
  914. "iv": new Uint32Array([0, 0, 331, 3063767524])
  915. },
  916. "uri": "http://media.example.com/fileSequence53-B.ts"
  917. },
  918. {
  919. "duration": 15,
  920. "timeline": 0,
  921. "uri": "http://media.example.com/fileSequence53-B.ts"
  922. }
  923. ],
  924. "targetDuration": 15
  925. }
  926. ,
  927. "event": {
  928. "allowCache": true,
  929. "mediaSequence": 0,
  930. "playlistType": "EVENT",
  931. "segments": [
  932. {
  933. "duration": 10,
  934. "timeline": 0,
  935. "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00001.ts"
  936. },
  937. {
  938. "duration": 10,
  939. "timeline": 0,
  940. "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00002.ts"
  941. },
  942. {
  943. "duration": 10,
  944. "timeline": 0,
  945. "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00003.ts"
  946. },
  947. {
  948. "duration": 10,
  949. "timeline": 0,
  950. "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00004.ts"
  951. },
  952. {
  953. "duration": 10,
  954. "timeline": 0,
  955. "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00005.ts"
  956. },
  957. {
  958. "duration": 8,
  959. "timeline": 0,
  960. "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00006.ts"
  961. }
  962. ],
  963. "targetDuration": 10,
  964. "endList": true,
  965. "discontinuitySequence": 0,
  966. "discontinuityStarts": []
  967. }
  968. ,
  969. "extXPlaylistTypeInvalidPlaylist": {
  970. "allowCache": true,
  971. "mediaSequence": 1,
  972. "segments": [
  973. {
  974. "duration": 6.64,
  975. "timeline": 0,
  976. "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
  977. }
  978. ],
  979. "targetDuration": 8,
  980. "endList": true,
  981. "discontinuitySequence": 0,
  982. "discontinuityStarts": []
  983. }
  984. ,
  985. "extinf": {
  986. "allowCache": true,
  987. "mediaSequence": 0,
  988. "playlistType": "VOD",
  989. "segments": [
  990. {
  991. "byterange": {
  992. "length": 522828,
  993. "offset": 0
  994. },
  995. "duration": 10,
  996. "timeline": 0,
  997. "uri": "hls_450k_video.ts"
  998. },
  999. {
  1000. "byterange": {
  1001. "length": 587500,
  1002. "offset": 522828
  1003. },
  1004. "duration": 10,
  1005. "timeline": 0,
  1006. "uri": "hls_450k_video.ts"
  1007. },
  1008. {
  1009. "byterange": {
  1010. "length": 713084,
  1011. "offset": 1110328
  1012. },
  1013. "duration": 5,
  1014. "timeline": 0,
  1015. "uri": "hls_450k_video.ts"
  1016. },
  1017. {
  1018. "byterange": {
  1019. "length": 476580,
  1020. "offset": 1823412
  1021. },
  1022. "duration": 9.7,
  1023. "timeline": 0,
  1024. "uri": "hls_450k_video.ts"
  1025. },
  1026. {
  1027. "byterange": {
  1028. "length": 535612,
  1029. "offset": 2299992
  1030. },
  1031. "duration": 10,
  1032. "timeline": 0,
  1033. "uri": "hls_450k_video.ts"
  1034. },
  1035. {
  1036. "byterange": {
  1037. "length": 207176,
  1038. "offset": 2835604
  1039. },
  1040. "duration": 10,
  1041. "timeline": 0,
  1042. "uri": "hls_450k_video.ts"
  1043. },
  1044. {
  1045. "byterange": {
  1046. "length": 455900,
  1047. "offset": 3042780
  1048. },
  1049. "duration": 10,
  1050. "timeline": 0,
  1051. "uri": "hls_450k_video.ts"
  1052. },
  1053. {
  1054. "byterange": {
  1055. "length": 657248,
  1056. "offset": 3498680
  1057. },
  1058. "duration": 10,
  1059. "timeline": 0,
  1060. "uri": "hls_450k_video.ts"
  1061. },
  1062. {
  1063. "byterange": {
  1064. "length": 571708,
  1065. "offset": 4155928
  1066. },
  1067. "duration": 10,
  1068. "timeline": 0,
  1069. "uri": "hls_450k_video.ts"
  1070. },
  1071. {
  1072. "byterange": {
  1073. "length": 485040,
  1074. "offset": 4727636
  1075. },
  1076. "duration": 10,
  1077. "timeline": 0,
  1078. "uri": "hls_450k_video.ts"
  1079. },
  1080. {
  1081. "byterange": {
  1082. "length": 709136,
  1083. "offset": 5212676
  1084. },
  1085. "duration": 10,
  1086. "timeline": 0,
  1087. "uri": "hls_450k_video.ts"
  1088. },
  1089. {
  1090. "byterange": {
  1091. "length": 730004,
  1092. "offset": 5921812
  1093. },
  1094. "duration": 10,
  1095. "timeline": 0,
  1096. "uri": "hls_450k_video.ts"
  1097. },
  1098. {
  1099. "byterange": {
  1100. "length": 456276,
  1101. "offset": 6651816
  1102. },
  1103. "duration": 10,
  1104. "timeline": 0,
  1105. "uri": "hls_450k_video.ts"
  1106. },
  1107. {
  1108. "byterange": {
  1109. "length": 468684,
  1110. "offset": 7108092
  1111. },
  1112. "duration": 10,
  1113. "timeline": 0,
  1114. "uri": "hls_450k_video.ts"
  1115. },
  1116. {
  1117. "byterange": {
  1118. "length": 444996,
  1119. "offset": 7576776
  1120. },
  1121. "duration": 10,
  1122. "timeline": 0,
  1123. "uri": "hls_450k_video.ts"
  1124. },
  1125. {
  1126. "byterange": {
  1127. "length": 331444,
  1128. "offset": 8021772
  1129. },
  1130. "duration": 10,
  1131. "timeline": 0,
  1132. "uri": "hls_450k_video.ts"
  1133. },
  1134. {
  1135. "byterange": {
  1136. "length": 44556,
  1137. "offset": 8353216
  1138. },
  1139. "duration": 10,
  1140. "timeline": 0,
  1141. "uri": "hls_450k_video.ts"
  1142. }
  1143. ],
  1144. "targetDuration": 10,
  1145. "endList": true,
  1146. "discontinuitySequence": 0,
  1147. "discontinuityStarts": []
  1148. }
  1149. ,
  1150. "fmp4": {
  1151. "allowCache": true,
  1152. "mediaSequence": 1,
  1153. "playlistType": "VOD",
  1154. "targetDuration": 6,
  1155. "discontinuitySequence": 0,
  1156. "discontinuityStarts": [],
  1157. "segments": [
  1158. {
  1159. "byterange": {
  1160. "length": 5666510,
  1161. "offset": 720
  1162. },
  1163. "duration": 6.006,
  1164. "timeline": 0,
  1165. "uri": "main.mp4",
  1166. "map": {
  1167. "byterange": {
  1168. "length": 720,
  1169. "offset": 0
  1170. },
  1171. "uri": "main.mp4"
  1172. }
  1173. },
  1174. {
  1175. "byterange": {
  1176. "length": 5861577,
  1177. "offset": 5667230
  1178. },
  1179. "duration": 6.006,
  1180. "timeline": 0,
  1181. "uri": "main.mp4",
  1182. "map": {
  1183. "byterange": {
  1184. "length": 720,
  1185. "offset": 0
  1186. },
  1187. "uri": "main.mp4"
  1188. }
  1189. }
  1190. ],
  1191. "endList": true
  1192. }
  1193. ,
  1194. "headerOnly": {
  1195. "allowCache": true,
  1196. "discontinuityStarts": [],
  1197. "segments": []
  1198. }
  1199. ,
  1200. "invalidAllowCache": {
  1201. "allowCache": true,
  1202. "mediaSequence": 0,
  1203. "playlistType": "VOD",
  1204. "segments": [
  1205. {
  1206. "byterange": {
  1207. "length": 522828,
  1208. "offset": 0
  1209. },
  1210. "duration": 10,
  1211. "timeline": 0,
  1212. "uri": "hls_450k_video.ts"
  1213. }
  1214. ],
  1215. "targetDuration": 10,
  1216. "endList": true,
  1217. "discontinuitySequence": 0,
  1218. "discontinuityStarts": []
  1219. }
  1220. ,
  1221. "invalidMediaSequence": {
  1222. "allowCache": true,
  1223. "mediaSequence": 0,
  1224. "playlistType": "VOD",
  1225. "segments": [
  1226. {
  1227. "duration": 6.64,
  1228. "timeline": 0,
  1229. "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
  1230. },
  1231. {
  1232. "duration": 6.08,
  1233. "timeline": 0,
  1234. "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
  1235. },
  1236. {
  1237. "duration": 6.6,
  1238. "timeline": 0,
  1239. "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
  1240. },
  1241. {
  1242. "duration": 5,
  1243. "timeline": 0,
  1244. "uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
  1245. }
  1246. ],
  1247. "targetDuration": 8,
  1248. "endList": true,
  1249. "discontinuitySequence": 0,
  1250. "discontinuityStarts": []
  1251. }
  1252. ,
  1253. "invalidPlaylistType": {
  1254. "allowCache": true,
  1255. "mediaSequence": 0,
  1256. "segments": [
  1257. {
  1258. "duration": 10,
  1259. "timeline": 0,
  1260. "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00001.ts"
  1261. },
  1262. {
  1263. "duration": 10,
  1264. "timeline": 0,
  1265. "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00002.ts"
  1266. },
  1267. {
  1268. "duration": 10,
  1269. "timeline": 0,
  1270. "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00003.ts"
  1271. },
  1272. {
  1273. "duration": 10,
  1274. "timeline": 0,
  1275. "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00004.ts"
  1276. },
  1277. {
  1278. "duration": 10,
  1279. "timeline": 0,
  1280. "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00005.ts"
  1281. },
  1282. {
  1283. "duration": 8,
  1284. "timeline": 0,
  1285. "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00006.ts"
  1286. }
  1287. ],
  1288. "targetDuration": 10,
  1289. "endList": true,
  1290. "discontinuitySequence": 0,
  1291. "discontinuityStarts": []
  1292. }
  1293. ,
  1294. "invalidTargetDuration": {
  1295. "allowCache": true,
  1296. "mediaSequence": 0,
  1297. "playlistType": "VOD",
  1298. "segments": [
  1299. {
  1300. "byterange": {
  1301. "length": 522828,
  1302. "offset": 0
  1303. },
  1304. "duration": 10,
  1305. "timeline": 0,
  1306. "uri": "hls_450k_video.ts"
  1307. },
  1308. {
  1309. "byterange": {
  1310. "length": 587500,
  1311. "offset": 522828
  1312. },
  1313. "duration": 10,
  1314. "timeline": 0,
  1315. "uri": "hls_450k_video.ts"
  1316. },
  1317. {
  1318. "byterange": {
  1319. "length": 713084,
  1320. "offset": 1110328
  1321. },
  1322. "duration": 10,
  1323. "timeline": 0,
  1324. "uri": "hls_450k_video.ts"
  1325. },
  1326. {
  1327. "byterange": {
  1328. "length": 476580,
  1329. "offset": 1823412
  1330. },
  1331. "duration": 10,
  1332. "timeline": 0,
  1333. "uri": "hls_450k_video.ts"
  1334. },
  1335. {
  1336. "byterange": {
  1337. "length": 535612,
  1338. "offset": 2299992
  1339. },
  1340. "duration": 10,
  1341. "timeline": 0,
  1342. "uri": "hls_450k_video.ts"
  1343. },
  1344. {
  1345. "byterange": {
  1346. "length": 207176,
  1347. "offset": 2835604
  1348. },
  1349. "duration": 10,
  1350. "timeline": 0,
  1351. "uri": "hls_450k_video.ts"
  1352. },
  1353. {
  1354. "byterange": {
  1355. "length": 455900,
  1356. "offset": 3042780
  1357. },
  1358. "duration": 10,
  1359. "timeline": 0,
  1360. "uri": "hls_450k_video.ts"
  1361. },
  1362. {
  1363. "byterange": {
  1364. "length": 657248,
  1365. "offset": 3498680
  1366. },
  1367. "duration": 10,
  1368. "timeline": 0,
  1369. "uri": "hls_450k_video.ts"
  1370. },
  1371. {
  1372. "byterange": {
  1373. "length": 571708,
  1374. "offset": 4155928
  1375. },
  1376. "duration": 10,
  1377. "timeline": 0,
  1378. "uri": "hls_450k_video.ts"
  1379. },
  1380. {
  1381. "byterange": {
  1382. "length": 485040,
  1383. "offset": 4727636
  1384. },
  1385. "duration": 10,
  1386. "timeline": 0,
  1387. "uri": "hls_450k_video.ts"
  1388. },
  1389. {
  1390. "byterange": {
  1391. "length": 709136,
  1392. "offset": 5212676
  1393. },
  1394. "duration": 10,
  1395. "timeline": 0,
  1396. "uri": "hls_450k_video.ts"
  1397. },
  1398. {
  1399. "byterange": {
  1400. "length": 730004,
  1401. "offset": 5921812
  1402. },
  1403. "duration": 10,
  1404. "timeline": 0,
  1405. "uri": "hls_450k_video.ts"
  1406. },
  1407. {
  1408. "byterange": {
  1409. "length": 456276,
  1410. "offset": 6651816
  1411. },
  1412. "duration": 10,
  1413. "timeline": 0,
  1414. "uri": "hls_450k_video.ts"
  1415. },
  1416. {
  1417. "byterange": {
  1418. "length": 468684,
  1419. "offset": 7108092
  1420. },
  1421. "duration": 10,
  1422. "timeline": 0,
  1423. "uri": "hls_450k_video.ts"
  1424. },
  1425. {
  1426. "byterange": {
  1427. "length": 444996,
  1428. "offset": 7576776
  1429. },
  1430. "duration": 10,
  1431. "timeline": 0,
  1432. "uri": "hls_450k_video.ts"
  1433. },
  1434. {
  1435. "byterange": {
  1436. "length": 331444,
  1437. "offset": 8021772
  1438. },
  1439. "duration": 10,
  1440. "timeline": 0,
  1441. "uri": "hls_450k_video.ts"
  1442. },
  1443. {
  1444. "byterange": {
  1445. "length": 44556,
  1446. "offset": 8353216
  1447. },
  1448. "duration": 1.4167,
  1449. "timeline": 0,
  1450. "uri": "hls_450k_video.ts"
  1451. }
  1452. ],
  1453. "endList": true,
  1454. "discontinuitySequence": 0,
  1455. "discontinuityStarts": []
  1456. }
  1457. ,
  1458. "liveMissingSegmentDuration": {
  1459. "allowCache": true,
  1460. "mediaSequence": 0,
  1461. "playlistType": "VOD",
  1462. "segments": [
  1463. {
  1464. "duration": 6.64,
  1465. "timeline": 0,
  1466. "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
  1467. },
  1468. {
  1469. "duration": 8,
  1470. "timeline": 0,
  1471. "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
  1472. },
  1473. {
  1474. "duration": 8,
  1475. "timeline": 0,
  1476. "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
  1477. }
  1478. ],
  1479. "targetDuration": 8,
  1480. "discontinuitySequence": 0,
  1481. "discontinuityStarts": []
  1482. }
  1483. ,
  1484. "liveStart30sBefore": {
  1485. "allowCache": true,
  1486. "mediaSequence": 0,
  1487. "segments": [
  1488. {
  1489. "duration": 10,
  1490. "timeline": 0,
  1491. "uri": "001.ts"
  1492. },
  1493. {
  1494. "duration": 19,
  1495. "timeline": 0,
  1496. "uri": "002.ts"
  1497. },
  1498. {
  1499. "duration": 10,
  1500. "timeline": 0,
  1501. "uri": "003.ts"
  1502. },
  1503. {
  1504. "duration": 11,
  1505. "timeline": 0,
  1506. "uri": "004.ts"
  1507. },
  1508. {
  1509. "duration": 10,
  1510. "timeline": 0,
  1511. "uri": "005.ts"
  1512. },
  1513. {
  1514. "duration": 10,
  1515. "timeline": 0,
  1516. "uri": "006.ts"
  1517. },
  1518. {
  1519. "duration": 10,
  1520. "timeline": 0,
  1521. "uri": "007.ts"
  1522. },
  1523. {
  1524. "duration": 10,
  1525. "timeline": 0,
  1526. "uri": "008.ts"
  1527. },
  1528. {
  1529. "duration": 16,
  1530. "timeline": 0,
  1531. "uri": "009.ts"
  1532. }
  1533. ],
  1534. "targetDuration": 10,
  1535. "discontinuitySequence": 0,
  1536. "discontinuityStarts": []
  1537. }
  1538. ,
  1539. "manifestExtTTargetdurationNegative": {
  1540. "allowCache": true,
  1541. "mediaSequence": 0,
  1542. "segments": [
  1543. {
  1544. "duration": 10,
  1545. "timeline": 0,
  1546. "uri": "/test/ts-files/zencoder/gogo/00001.ts"
  1547. }
  1548. ],
  1549. "endList": true,
  1550. "discontinuitySequence": 0,
  1551. "discontinuityStarts": []
  1552. }
  1553. ,
  1554. "manifestExtXEndlistEarly": {
  1555. "allowCache": true,
  1556. "mediaSequence": 0,
  1557. "segments": [
  1558. {
  1559. "duration": 10,
  1560. "timeline": 0,
  1561. "uri": "/test/ts-files/zencoder/gogo/00001.ts"
  1562. },
  1563. {
  1564. "duration": 10,
  1565. "timeline": 0,
  1566. "uri": "/test/ts-files/zencoder/gogo/00002.ts"
  1567. },
  1568. {
  1569. "duration": 10,
  1570. "timeline": 0,
  1571. "uri": "/test/ts-files/zencoder/gogo/00003.ts"
  1572. },
  1573. {
  1574. "duration": 10,
  1575. "timeline": 0,
  1576. "uri": "/test/ts-files/zencoder/gogo/00004.ts"
  1577. },
  1578. {
  1579. "duration": 10,
  1580. "timeline": 0,
  1581. "uri": "/test/ts-files/zencoder/gogo/00005.ts"
  1582. }
  1583. ],
  1584. "targetDuration": 10,
  1585. "endList": true,
  1586. "discontinuitySequence": 0,
  1587. "discontinuityStarts": []
  1588. }
  1589. ,
  1590. "manifestNoExtM3u": {
  1591. "allowCache": true,
  1592. "mediaSequence": 0,
  1593. "segments": [
  1594. {
  1595. "duration": 10,
  1596. "timeline": 0,
  1597. "uri": "/test/ts-files/zencoder/gogo/00001.ts"
  1598. }
  1599. ],
  1600. "targetDuration": 10,
  1601. "endList": true,
  1602. "discontinuitySequence": 0,
  1603. "discontinuityStarts": []
  1604. }
  1605. ,
  1606. "master-fmp4": {
  1607. allowCache: true,
  1608. discontinuityStarts: [],
  1609. mediaGroups: {
  1610. AUDIO: {
  1611. aud1: {
  1612. English: {
  1613. autoselect: true,
  1614. default: true,
  1615. language: "eng",
  1616. uri: "a1/prog_index.m3u8"
  1617. }
  1618. },
  1619. aud2: {
  1620. English: {
  1621. autoselect: true,
  1622. default: true,
  1623. language: "eng",
  1624. uri: "a2/prog_index.m3u8"
  1625. }
  1626. },
  1627. aud3: {
  1628. English: {
  1629. autoselect: true,
  1630. default: true,
  1631. language: "eng",
  1632. uri: "a3/prog_index.m3u8"
  1633. }
  1634. }
  1635. },
  1636. VIDEO: {},
  1637. "CLOSED-CAPTIONS": {
  1638. cc1: {
  1639. English: {
  1640. autoselect: true,
  1641. default: true,
  1642. language: "eng",
  1643. instreamId: "CC1"
  1644. }
  1645. }
  1646. },
  1647. SUBTITLES: {
  1648. sub1: {
  1649. English: {
  1650. autoselect: true,
  1651. default: true,
  1652. language: "eng",
  1653. uri: 's1/eng/prog_index.m3u8',
  1654. forced: false
  1655. }
  1656. }
  1657. }
  1658. },
  1659. playlists: [{
  1660. attributes: {
  1661. "AVERAGE-BANDWIDTH": "2165224",
  1662. BANDWIDTH: 2215219,
  1663. CODECS: "avc1.640020,mp4a.40.2",
  1664. RESOLUTION: {
  1665. width: 960,
  1666. height: 540
  1667. },
  1668. "FRAME-RATE": "59.940",
  1669. "CLOSED-CAPTIONS": "cc1",
  1670. AUDIO: "aud1",
  1671. SUBTITLES: "sub1"
  1672. },
  1673. timeline: 0,
  1674. uri: "v4/prog_index.m3u8"
  1675. },
  1676. {
  1677. "attributes": {
  1678. "AUDIO": "aud1",
  1679. "AVERAGE-BANDWIDTH": "7962844",
  1680. "BANDWIDTH": 7976430,
  1681. "CLOSED-CAPTIONS": "cc1",
  1682. "CODECS": "avc1.64002a,mp4a.40.2",
  1683. "FRAME-RATE": "59.940",
  1684. "RESOLUTION": {
  1685. "height": 1080,
  1686. "width": 1920
  1687. },
  1688. "SUBTITLES": "sub1"
  1689. },
  1690. "timeline": 0,
  1691. "uri": "v8/prog_index.m3u8"
  1692. },
  1693. {
  1694. "attributes": {
  1695. "AUDIO": "aud1",
  1696. "AVERAGE-BANDWIDTH": "6165024",
  1697. "BANDWIDTH": 6181885,
  1698. "CLOSED-CAPTIONS": "cc1",
  1699. "CODECS": "avc1.64002a,mp4a.40.2",
  1700. "FRAME-RATE": "59.940",
  1701. "RESOLUTION": {
  1702. "height": 1080,
  1703. "width": 1920
  1704. },
  1705. "SUBTITLES": "sub1"
  1706. },
  1707. "timeline": 0,
  1708. "uri": "v7/prog_index.m3u8"
  1709. },
  1710. {
  1711. "attributes": {
  1712. "AUDIO": "aud1",
  1713. "AVERAGE-BANDWIDTH": "4664459",
  1714. "BANDWIDTH": 4682666,
  1715. "CLOSED-CAPTIONS": "cc1",
  1716. "CODECS": "avc1.64002a,mp4a.40.2",
  1717. "FRAME-RATE": "59.940",
  1718. "RESOLUTION": {
  1719. "height": 1080,
  1720. "width": 1920
  1721. },
  1722. "SUBTITLES": "sub1"
  1723. },
  1724. "timeline": 0,
  1725. "uri": "v6/prog_index.m3u8"
  1726. },
  1727. {
  1728. "attributes": {
  1729. "AUDIO": "aud1",
  1730. "AVERAGE-BANDWIDTH": "3164759",
  1731. "BANDWIDTH": 3170746,
  1732. "CLOSED-CAPTIONS": "cc1",
  1733. "CODECS": "avc1.640020,mp4a.40.2",
  1734. "FRAME-RATE": "59.940",
  1735. "RESOLUTION": {
  1736. "height": 720,
  1737. "width": 1280
  1738. },
  1739. "SUBTITLES": "sub1"
  1740. },
  1741. "timeline": 0,
  1742. "uri": "v5/prog_index.m3u8"
  1743. },
  1744. {
  1745. "attributes": {
  1746. "AUDIO": "aud1",
  1747. "AVERAGE-BANDWIDTH": "1262552",
  1748. "BANDWIDTH": 1276223,
  1749. "CLOSED-CAPTIONS": "cc1",
  1750. "CODECS": "avc1.64001e,mp4a.40.2",
  1751. "FRAME-RATE": "29.970",
  1752. "RESOLUTION": {
  1753. "height": 432,
  1754. "width": 768
  1755. },
  1756. "SUBTITLES": "sub1"
  1757. },
  1758. "timeline": 0,
  1759. "uri": "v3/prog_index.m3u8"
  1760. },
  1761. {
  1762. "attributes": {
  1763. "AUDIO": "aud1",
  1764. "AVERAGE-BANDWIDTH": "893243",
  1765. "BANDWIDTH": 904744,
  1766. "CLOSED-CAPTIONS": "cc1",
  1767. "CODECS": "avc1.64001e,mp4a.40.2",
  1768. "FRAME-RATE": "29.970",
  1769. "RESOLUTION": {
  1770. "height": 360,
  1771. "width": 640
  1772. },
  1773. "SUBTITLES": "sub1"
  1774. },
  1775. "timeline": 0,
  1776. "uri": "v2/prog_index.m3u8"
  1777. },
  1778. {
  1779. "attributes": {
  1780. "AUDIO": "aud1",
  1781. "AVERAGE-BANDWIDTH": "527673",
  1782. "BANDWIDTH": 538201,
  1783. "CLOSED-CAPTIONS": "cc1",
  1784. "CODECS": "avc1.640015,mp4a.40.2",
  1785. "FRAME-RATE": "29.970",
  1786. "RESOLUTION": {
  1787. "height": 270,
  1788. "width": 480
  1789. },
  1790. "SUBTITLES": "sub1"
  1791. },
  1792. "timeline": 0,
  1793. "uri": "v1/prog_index.m3u8"
  1794. },
  1795. {
  1796. "attributes": {
  1797. "AUDIO": "aud2",
  1798. "AVERAGE-BANDWIDTH": "2390334",
  1799. "BANDWIDTH": 2440329,
  1800. "CLOSED-CAPTIONS": "cc1",
  1801. "CODECS": "avc1.640020,ac-3",
  1802. "FRAME-RATE": "59.940",
  1803. "RESOLUTION": {
  1804. "height": 540,
  1805. "width": 960
  1806. },
  1807. "SUBTITLES": "sub1"
  1808. },
  1809. "timeline": 0,
  1810. "uri": "v4/prog_index.m3u8"
  1811. },
  1812. {
  1813. "attributes": {
  1814. "AUDIO": "aud2",
  1815. "AVERAGE-BANDWIDTH": "8187954",
  1816. "BANDWIDTH": 8201540,
  1817. "CLOSED-CAPTIONS": "cc1",
  1818. "CODECS": "avc1.64002a,ac-3",
  1819. "FRAME-RATE": "59.940",
  1820. "RESOLUTION": {
  1821. "height": 1080,
  1822. "width": 1920
  1823. },
  1824. "SUBTITLES": "sub1"
  1825. },
  1826. "timeline": 0,
  1827. "uri": "v8/prog_index.m3u8"
  1828. },
  1829. {
  1830. "attributes": {
  1831. "AUDIO": "aud2",
  1832. "AVERAGE-BANDWIDTH": "6390134",
  1833. "BANDWIDTH": 6406995,
  1834. "CLOSED-CAPTIONS": "cc1",
  1835. "CODECS": "avc1.64002a,ac-3",
  1836. "FRAME-RATE": "59.940",
  1837. "RESOLUTION": {
  1838. "height": 1080,
  1839. "width": 1920
  1840. },
  1841. "SUBTITLES": "sub1"
  1842. },
  1843. "timeline": 0,
  1844. "uri": "v7/prog_index.m3u8"
  1845. },
  1846. {
  1847. "attributes": {
  1848. "AUDIO": "aud2",
  1849. "AVERAGE-BANDWIDTH": "4889569",
  1850. "BANDWIDTH": 4907776,
  1851. "CLOSED-CAPTIONS": "cc1",
  1852. "CODECS": "avc1.64002a,ac-3",
  1853. "FRAME-RATE": "59.940",
  1854. "RESOLUTION": {
  1855. "height": 1080,
  1856. "width": 1920
  1857. },
  1858. "SUBTITLES": "sub1"
  1859. },
  1860. "timeline": 0,
  1861. "uri": "v6/prog_index.m3u8"
  1862. },
  1863. {
  1864. "attributes": {
  1865. "AUDIO": "aud2",
  1866. "AVERAGE-BANDWIDTH": "3389869",
  1867. "BANDWIDTH": 3395856,
  1868. "CLOSED-CAPTIONS": "cc1",
  1869. "CODECS": "avc1.640020,ac-3",
  1870. "FRAME-RATE": "59.940",
  1871. "RESOLUTION": {
  1872. "height": 720,
  1873. "width": 1280
  1874. },
  1875. "SUBTITLES": "sub1"
  1876. },
  1877. "timeline": 0,
  1878. "uri": "v5/prog_index.m3u8"
  1879. },
  1880. {
  1881. "attributes": {
  1882. "AUDIO": "aud2",
  1883. "AVERAGE-BANDWIDTH": "1487662",
  1884. "BANDWIDTH": 1501333,
  1885. "CLOSED-CAPTIONS": "cc1",
  1886. "CODECS": "avc1.64001e,ac-3",
  1887. "FRAME-RATE": "29.970",
  1888. "RESOLUTION": {
  1889. "height": 432,
  1890. "width": 768
  1891. },
  1892. "SUBTITLES": "sub1"
  1893. },
  1894. "timeline": 0,
  1895. "uri": "v3/prog_index.m3u8"
  1896. },
  1897. {
  1898. "attributes": {
  1899. "AUDIO": "aud2",
  1900. "AVERAGE-BANDWIDTH": "1118353",
  1901. "BANDWIDTH": 1129854,
  1902. "CLOSED-CAPTIONS": "cc1",
  1903. "CODECS": "avc1.64001e,ac-3",
  1904. "FRAME-RATE": "29.970",
  1905. "RESOLUTION": {
  1906. "height": 360,
  1907. "width": 640
  1908. },
  1909. "SUBTITLES": "sub1"
  1910. },
  1911. "timeline": 0,
  1912. "uri": "v2/prog_index.m3u8"
  1913. },
  1914. {
  1915. "attributes": {
  1916. "AUDIO": "aud2",
  1917. "AVERAGE-BANDWIDTH": "752783",
  1918. "BANDWIDTH": 763311,
  1919. "CLOSED-CAPTIONS": "cc1",
  1920. "CODECS": "avc1.640015,ac-3",
  1921. "FRAME-RATE": "29.970",
  1922. "RESOLUTION": {
  1923. "height": 270,
  1924. "width": 480
  1925. },
  1926. "SUBTITLES": "sub1"
  1927. },
  1928. "timeline": 0,
  1929. "uri": "v1/prog_index.m3u8"
  1930. },
  1931. {
  1932. "attributes": {
  1933. "AUDIO": "aud3",
  1934. "AVERAGE-BANDWIDTH": "2198334",
  1935. "BANDWIDTH": 2248329,
  1936. "CLOSED-CAPTIONS": "cc1",
  1937. "CODECS": "avc1.640020,ec-3",
  1938. "FRAME-RATE": "59.940",
  1939. "RESOLUTION": {
  1940. "height": 540,
  1941. "width": 960
  1942. },
  1943. "SUBTITLES": "sub1"
  1944. },
  1945. "timeline": 0,
  1946. "uri": "v4/prog_index.m3u8"
  1947. },
  1948. {
  1949. "attributes": {
  1950. "AUDIO": "aud3",
  1951. "AVERAGE-BANDWIDTH": "7995954",
  1952. "BANDWIDTH": 8009540,
  1953. "CLOSED-CAPTIONS": "cc1",
  1954. "CODECS": "avc1.64002a,ec-3",
  1955. "FRAME-RATE": "59.940",
  1956. "RESOLUTION": {
  1957. "height": 1080,
  1958. "width": 1920
  1959. },
  1960. "SUBTITLES": "sub1"
  1961. },
  1962. "timeline": 0,
  1963. "uri": "v8/prog_index.m3u8"
  1964. },
  1965. {
  1966. "attributes": {
  1967. "AUDIO": "aud3",
  1968. "AVERAGE-BANDWIDTH": "6198134",
  1969. "BANDWIDTH": 6214995,
  1970. "CLOSED-CAPTIONS": "cc1",
  1971. "CODECS": "avc1.64002a,ec-3",
  1972. "FRAME-RATE": "59.940",
  1973. "RESOLUTION": {
  1974. "height": 1080,
  1975. "width": 1920
  1976. },
  1977. "SUBTITLES": "sub1"
  1978. },
  1979. "timeline": 0,
  1980. "uri": "v7/prog_index.m3u8"
  1981. },
  1982. {
  1983. "attributes": {
  1984. "AUDIO": "aud3",
  1985. "AVERAGE-BANDWIDTH": "4697569",
  1986. "BANDWIDTH": 4715776,
  1987. "CLOSED-CAPTIONS": "cc1",
  1988. "CODECS": "avc1.64002a,ec-3",
  1989. "FRAME-RATE": "59.940",
  1990. "RESOLUTION": {
  1991. "height": 1080,
  1992. "width": 1920
  1993. },
  1994. "SUBTITLES": "sub1"
  1995. },
  1996. "timeline": 0,
  1997. "uri": "v6/prog_index.m3u8"
  1998. },
  1999. {
  2000. "attributes": {
  2001. "AUDIO": "aud3",
  2002. "AVERAGE-BANDWIDTH": "3197869",
  2003. "BANDWIDTH": 3203856,
  2004. "CLOSED-CAPTIONS": "cc1",
  2005. "CODECS": "avc1.640020,ec-3",
  2006. "FRAME-RATE": "59.940",
  2007. "RESOLUTION": {
  2008. "height": 720,
  2009. "width": 1280
  2010. },
  2011. "SUBTITLES": "sub1"
  2012. },
  2013. "timeline": 0,
  2014. "uri": "v5/prog_index.m3u8"
  2015. },
  2016. {
  2017. "attributes": {
  2018. "AUDIO": "aud3",
  2019. "AVERAGE-BANDWIDTH": "1295662",
  2020. "BANDWIDTH": 1309333,
  2021. "CLOSED-CAPTIONS": "cc1",
  2022. "CODECS": "avc1.64001e,ec-3",
  2023. "FRAME-RATE": "29.970",
  2024. "RESOLUTION": {
  2025. "height": 432,
  2026. "width": 768
  2027. },
  2028. "SUBTITLES": "sub1"
  2029. },
  2030. "timeline": 0,
  2031. "uri": "v3/prog_index.m3u8"
  2032. },
  2033. {
  2034. "attributes": {
  2035. "AUDIO": "aud3",
  2036. "AVERAGE-BANDWIDTH": "926353",
  2037. "BANDWIDTH": 937854,
  2038. "CLOSED-CAPTIONS": "cc1",
  2039. "CODECS": "avc1.64001e,ec-3",
  2040. "FRAME-RATE": "29.970",
  2041. "RESOLUTION": {
  2042. "height": 360,
  2043. "width": 640
  2044. },
  2045. "SUBTITLES": "sub1"
  2046. },
  2047. "timeline": 0,
  2048. "uri": "v2/prog_index.m3u8"
  2049. },
  2050. {
  2051. "attributes": {
  2052. "AUDIO": "aud3",
  2053. "AVERAGE-BANDWIDTH": "560783",
  2054. "BANDWIDTH": 571311,
  2055. "CLOSED-CAPTIONS": "cc1",
  2056. "CODECS": "avc1.640015,ec-3",
  2057. "FRAME-RATE": "29.970",
  2058. "RESOLUTION": {
  2059. "height": 270,
  2060. "width": 480
  2061. },
  2062. "SUBTITLES": "sub1"
  2063. },
  2064. "timeline": 0,
  2065. "uri": "v1/prog_index.m3u8"
  2066. }],
  2067. segments: []
  2068. }
  2069. ,
  2070. "master": {
  2071. "allowCache": true,
  2072. "playlists": [
  2073. {
  2074. "attributes": {
  2075. "PROGRAM-ID": 1,
  2076. "BANDWIDTH": 240000,
  2077. "RESOLUTION": {
  2078. "width": 396,
  2079. "height": 224
  2080. }
  2081. },
  2082. "timeline": 0,
  2083. "uri": "media.m3u8"
  2084. },
  2085. {
  2086. "attributes": {
  2087. "PROGRAM-ID": 1,
  2088. "BANDWIDTH": 40000
  2089. },
  2090. "timeline": 0,
  2091. "uri": "media1.m3u8"
  2092. },
  2093. {
  2094. "attributes": {
  2095. "PROGRAM-ID": 1,
  2096. "BANDWIDTH": 440000,
  2097. "RESOLUTION": {
  2098. "width": 396,
  2099. "height": 224
  2100. }
  2101. },
  2102. "timeline": 0,
  2103. "uri": "media2.m3u8"
  2104. },
  2105. {
  2106. "attributes": {
  2107. "PROGRAM-ID": 1,
  2108. "BANDWIDTH": 1928000,
  2109. "RESOLUTION": {
  2110. "width": 960,
  2111. "height": 540
  2112. }
  2113. },
  2114. "timeline": 0,
  2115. "uri": "media3.m3u8"
  2116. }
  2117. ],
  2118. "discontinuityStarts": [],
  2119. "mediaGroups": {
  2120. "VIDEO": {},
  2121. "AUDIO": {},
  2122. "CLOSED-CAPTIONS": {},
  2123. "SUBTITLES": {}
  2124. },
  2125. segments: []
  2126. }
  2127. ,
  2128. "media": {
  2129. "allowCache": true,
  2130. "mediaSequence": 0,
  2131. "playlistType": "VOD",
  2132. "segments": [
  2133. {
  2134. "duration": 10,
  2135. "timeline": 0,
  2136. "uri": "media-00001.ts"
  2137. },
  2138. {
  2139. "duration": 10,
  2140. "timeline": 0,
  2141. "uri": "media-00002.ts"
  2142. },
  2143. {
  2144. "duration": 10,
  2145. "timeline": 0,
  2146. "uri": "media-00003.ts"
  2147. },
  2148. {
  2149. "duration": 10,
  2150. "timeline": 0,
  2151. "uri": "media-00004.ts"
  2152. }
  2153. ],
  2154. "targetDuration": 10,
  2155. "endList": true,
  2156. "discontinuitySequence": 0,
  2157. "discontinuityStarts": []
  2158. }
  2159. ,
  2160. "mediaSequence": {
  2161. "allowCache": true,
  2162. "mediaSequence": 0,
  2163. "playlistType": "VOD",
  2164. "segments": [
  2165. {
  2166. "duration": 6.64,
  2167. "timeline": 0,
  2168. "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
  2169. },
  2170. {
  2171. "duration": 6.08,
  2172. "timeline": 0,
  2173. "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
  2174. },
  2175. {
  2176. "duration": 6.6,
  2177. "timeline": 0,
  2178. "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
  2179. },
  2180. {
  2181. "duration": 5,
  2182. "timeline": 0,
  2183. "uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
  2184. }
  2185. ],
  2186. "targetDuration": 8,
  2187. "endList": true,
  2188. "discontinuitySequence": 0,
  2189. "discontinuityStarts": []
  2190. }
  2191. ,
  2192. "missingEndlist": {
  2193. "allowCache": true,
  2194. "mediaSequence": 0,
  2195. "segments": [
  2196. {
  2197. "duration": 10,
  2198. "timeline": 0,
  2199. "uri": "00001.ts"
  2200. },
  2201. {
  2202. "duration": 10,
  2203. "timeline": 0,
  2204. "uri": "00002.ts"
  2205. }
  2206. ],
  2207. "targetDuration": 10,
  2208. "discontinuitySequence": 0,
  2209. "discontinuityStarts": []
  2210. }
  2211. ,
  2212. "missingExtinf": {
  2213. "allowCache": true,
  2214. "mediaSequence": 0,
  2215. "playlistType": "VOD",
  2216. "segments": [
  2217. {
  2218. "duration": 10,
  2219. "timeline": 0,
  2220. "uri": "hls_450k_video.ts"
  2221. },
  2222. {
  2223. "duration": 10,
  2224. "timeline": 0,
  2225. "uri": "hls_450k_video.ts"
  2226. },
  2227. {
  2228. "duration": 10,
  2229. "timeline": 0,
  2230. "uri": "hls_450k_video.ts"
  2231. }
  2232. ],
  2233. "targetDuration": 10,
  2234. "endList": true,
  2235. "discontinuitySequence": 0,
  2236. "discontinuityStarts": []
  2237. }
  2238. ,
  2239. "missingMediaSequence": {
  2240. "allowCache": true,
  2241. "mediaSequence": 0,
  2242. "playlistType": "VOD",
  2243. "segments": [
  2244. {
  2245. "duration": 6.64,
  2246. "timeline": 0,
  2247. "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
  2248. },
  2249. {
  2250. "duration": 6.08,
  2251. "timeline": 0,
  2252. "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
  2253. },
  2254. {
  2255. "duration": 6.6,
  2256. "timeline": 0,
  2257. "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
  2258. },
  2259. {
  2260. "duration": 5,
  2261. "timeline": 0,
  2262. "uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
  2263. }
  2264. ],
  2265. "targetDuration": 8,
  2266. "endList": true,
  2267. "discontinuitySequence": 0,
  2268. "discontinuityStarts": []
  2269. }
  2270. ,
  2271. "missingSegmentDuration": {
  2272. "allowCache": true,
  2273. "mediaSequence": 0,
  2274. "playlistType": "VOD",
  2275. "segments": [
  2276. {
  2277. "duration": 6.64,
  2278. "timeline": 0,
  2279. "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
  2280. },
  2281. {
  2282. "duration": 8,
  2283. "timeline": 0,
  2284. "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
  2285. },
  2286. {
  2287. "duration": 8,
  2288. "timeline": 0,
  2289. "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
  2290. },
  2291. {
  2292. "duration": 8,
  2293. "timeline": 0,
  2294. "uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
  2295. }
  2296. ],
  2297. "targetDuration": 8,
  2298. "endList": true,
  2299. "discontinuitySequence": 0,
  2300. "discontinuityStarts": []
  2301. }
  2302. ,
  2303. "multipleAudioGroups": {
  2304. allowCache: true,
  2305. discontinuityStarts: [],
  2306. mediaGroups: {
  2307. AUDIO: {
  2308. "audio-lo": {
  2309. "English": {
  2310. autoselect: true,
  2311. default: true,
  2312. language: "eng",
  2313. uri: "englo/prog_index.m3u8"
  2314. },
  2315. "Français": {
  2316. autoselect: true,
  2317. default: false,
  2318. language: "fre",
  2319. uri: "frelo/prog_index.m3u8"
  2320. },
  2321. "Espanol": {
  2322. autoselect: true,
  2323. default: false,
  2324. language: "sp",
  2325. uri: "splo/prog_index.m3u8"
  2326. }
  2327. },
  2328. "audio-hi": {
  2329. "English": {
  2330. autoselect: true,
  2331. default: true,
  2332. language: "eng",
  2333. uri: "eng/prog_index.m3u8"
  2334. },
  2335. "Français": {
  2336. autoselect: true,
  2337. default: false,
  2338. language: "fre",
  2339. uri: "fre/prog_index.m3u8"
  2340. },
  2341. "Espanol": {
  2342. autoselect: true,
  2343. default: false,
  2344. language: "sp",
  2345. uri: "sp/prog_index.m3u8"
  2346. }
  2347. }
  2348. },
  2349. VIDEO: {},
  2350. "CLOSED-CAPTIONS": {},
  2351. SUBTITLES: {}
  2352. },
  2353. playlists: [{
  2354. attributes: {
  2355. "PROGRAM-ID": 1,
  2356. BANDWIDTH: 195023,
  2357. CODECS: "mp4a.40.5",
  2358. AUDIO: "audio-lo",
  2359. },
  2360. timeline: 0,
  2361. uri: "lo/prog_index.m3u8"
  2362. }, {
  2363. attributes: {
  2364. "PROGRAM-ID": 1,
  2365. BANDWIDTH: 260000,
  2366. CODECS: "avc1.42e01e,mp4a.40.2",
  2367. AUDIO: "audio-lo"
  2368. },
  2369. timeline: 0,
  2370. uri: "lo2/prog_index.m3u8"
  2371. }, {
  2372. attributes: {
  2373. "PROGRAM-ID": 1,
  2374. BANDWIDTH: 591680,
  2375. CODECS: "mp4a.40.2, avc1.64001e",
  2376. AUDIO: "audio-hi"
  2377. },
  2378. timeline: 0,
  2379. uri: "hi/prog_index.m3u8"
  2380. }, {
  2381. attributes: {
  2382. "PROGRAM-ID": 1,
  2383. BANDWIDTH: 650000,
  2384. CODECS: "avc1.42e01e,mp4a.40.2",
  2385. AUDIO: "audio-hi"
  2386. },
  2387. timeline: 0,
  2388. uri: "hi2/prog_index.m3u8"
  2389. }],
  2390. segments: []
  2391. }
  2392. ,
  2393. "multipleAudioGroupsCombinedMain": {
  2394. allowCache: true,
  2395. discontinuityStarts: [],
  2396. mediaGroups: {
  2397. AUDIO: {
  2398. "audio-lo": {
  2399. "English": {
  2400. autoselect: true,
  2401. default: true,
  2402. language: "eng",
  2403. },
  2404. "Français": {
  2405. autoselect: true,
  2406. default: false,
  2407. language: "fre",
  2408. uri: "frelo/prog_index.m3u8"
  2409. },
  2410. "Espanol": {
  2411. autoselect: true,
  2412. default: false,
  2413. language: "sp",
  2414. uri: "splo/prog_index.m3u8"
  2415. }
  2416. },
  2417. "audio-hi": {
  2418. "English": {
  2419. autoselect: true,
  2420. default: true,
  2421. language: "eng",
  2422. uri: "eng/prog_index.m3u8"
  2423. },
  2424. "Français": {
  2425. autoselect: true,
  2426. default: false,
  2427. language: "fre",
  2428. uri: "fre/prog_index.m3u8"
  2429. },
  2430. "Espanol": {
  2431. autoselect: true,
  2432. default: false,
  2433. language: "sp",
  2434. uri: "sp/prog_index.m3u8"
  2435. }
  2436. }
  2437. },
  2438. VIDEO: {},
  2439. "CLOSED-CAPTIONS": {},
  2440. SUBTITLES: {}
  2441. },
  2442. playlists: [{
  2443. attributes: {
  2444. "PROGRAM-ID": 1,
  2445. BANDWIDTH: 195023,
  2446. CODECS: "mp4a.40.5",
  2447. AUDIO: "audio-lo",
  2448. },
  2449. timeline: 0,
  2450. uri: "lo/prog_index.m3u8"
  2451. }, {
  2452. attributes: {
  2453. "PROGRAM-ID": 1,
  2454. BANDWIDTH: 260000,
  2455. CODECS: "avc1.42e01e,mp4a.40.2",
  2456. AUDIO: "audio-lo"
  2457. },
  2458. timeline: 0,
  2459. uri: "lo2/prog_index.m3u8"
  2460. }, {
  2461. attributes: {
  2462. "PROGRAM-ID": 1,
  2463. BANDWIDTH: 591680,
  2464. CODECS: "mp4a.40.2, avc1.64001e",
  2465. AUDIO: "audio-hi"
  2466. },
  2467. timeline: 0,
  2468. uri: "hi/prog_index.m3u8"
  2469. }, {
  2470. attributes: {
  2471. "PROGRAM-ID": 1,
  2472. BANDWIDTH: 650000,
  2473. CODECS: "avc1.42e01e,mp4a.40.2",
  2474. AUDIO: "audio-hi"
  2475. },
  2476. timeline: 0,
  2477. uri: "hi2/prog_index.m3u8"
  2478. }],
  2479. segments: []
  2480. }
  2481. ,
  2482. "multipleTargetDurations": {
  2483. "allowCache": true,
  2484. "mediaSequence": 0,
  2485. "targetDuration": 10,
  2486. "segments": [
  2487. {
  2488. "uri": "001.ts",
  2489. "timeline": 0
  2490. },
  2491. {
  2492. "uri": "002.ts",
  2493. "duration": 9,
  2494. "timeline": 0
  2495. },
  2496. {
  2497. "uri": "003.ts",
  2498. "duration": 7,
  2499. "timeline": 0
  2500. },
  2501. {
  2502. "uri": "004.ts",
  2503. "duration": 10,
  2504. "timeline": 0
  2505. }
  2506. ],
  2507. "discontinuitySequence": 0,
  2508. "discontinuityStarts": []
  2509. }
  2510. ,
  2511. "multipleVideo": {
  2512. allowCache: true,
  2513. discontinuityStarts: [],
  2514. mediaGroups: {
  2515. AUDIO: {
  2516. aac: {
  2517. English: {
  2518. autoselect: true,
  2519. default: true,
  2520. language: "eng",
  2521. uri: "eng/prog_index.m3u8"
  2522. }
  2523. }
  2524. },
  2525. VIDEO: {
  2526. "200kbs": {
  2527. Angle1: {
  2528. autoselect: true,
  2529. default: true
  2530. },
  2531. Angle2: {
  2532. autoselect: true,
  2533. default: false,
  2534. uri: "Angle2/200kbs/prog_index.m3u8"
  2535. },
  2536. Angle3: {
  2537. autoselect: true,
  2538. default: false,
  2539. uri: "Angle3/200kbs/prog_index.m3u8"
  2540. }
  2541. },
  2542. "500kbs": {
  2543. Angle1: {
  2544. autoselect: true,
  2545. default: true
  2546. },
  2547. Angle2: {
  2548. autoselect: true,
  2549. default: false,
  2550. uri: "Angle2/500kbs/prog_index.m3u8"
  2551. },
  2552. Angle3: {
  2553. autoselect: true,
  2554. default: false,
  2555. uri: "Angle3/500kbs/prog_index.m3u8"
  2556. }
  2557. }
  2558. },
  2559. "CLOSED-CAPTIONS": {},
  2560. SUBTITLES: {}
  2561. },
  2562. playlists: [{
  2563. attributes: {
  2564. "PROGRAM-ID": 1,
  2565. BANDWIDTH: 300000,
  2566. CODECS: "mp4a.40.2,avc1.4d401e",
  2567. AUDIO: "aac",
  2568. VIDEO: "200kbs"
  2569. },
  2570. timeline: 0,
  2571. uri: "Angle1/200kbs/prog_index.m3u"
  2572. }, {
  2573. attributes: {
  2574. "PROGRAM-ID": 1,
  2575. BANDWIDTH: 754857,
  2576. CODECS: "mp4a.40.2,avc1.4d401e",
  2577. AUDIO: "aac",
  2578. VIDEO: "500kbs"
  2579. },
  2580. timeline: 0,
  2581. uri: "Angle1/500kbs/prog_index.m3u8"
  2582. }],
  2583. segments: []
  2584. }
  2585. ,
  2586. "negativeMediaSequence": {
  2587. "allowCache": true,
  2588. "mediaSequence": -11,
  2589. "playlistType": "VOD",
  2590. "segments": [
  2591. {
  2592. "duration": 6.64,
  2593. "timeline": 0,
  2594. "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
  2595. },
  2596. {
  2597. "duration": 6.08,
  2598. "timeline": 0,
  2599. "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
  2600. },
  2601. {
  2602. "duration": 6.6,
  2603. "timeline": 0,
  2604. "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
  2605. },
  2606. {
  2607. "duration": 5,
  2608. "timeline": 0,
  2609. "uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
  2610. }
  2611. ],
  2612. "targetDuration": 8,
  2613. "endList": true,
  2614. "discontinuitySequence": 0,
  2615. "discontinuityStarts": []
  2616. }
  2617. ,
  2618. "playlist": {
  2619. "allowCache": true,
  2620. "mediaSequence": 0,
  2621. "playlistType": "VOD",
  2622. "segments": [
  2623. {
  2624. "byterange": {
  2625. "length": 522828,
  2626. "offset": 0
  2627. },
  2628. "duration": 10,
  2629. "timeline": 0,
  2630. "uri": "hls_450k_video.ts"
  2631. },
  2632. {
  2633. "byterange": {
  2634. "length": 587500,
  2635. "offset": 522828
  2636. },
  2637. "duration": 10,
  2638. "timeline": 0,
  2639. "uri": "hls_450k_video.ts"
  2640. },
  2641. {
  2642. "byterange": {
  2643. "length": 713084,
  2644. "offset": 1110328
  2645. },
  2646. "duration": 10,
  2647. "timeline": 0,
  2648. "uri": "hls_450k_video.ts"
  2649. },
  2650. {
  2651. "byterange": {
  2652. "length": 476580,
  2653. "offset": 1823412
  2654. },
  2655. "duration": 10,
  2656. "timeline": 0,
  2657. "uri": "hls_450k_video.ts"
  2658. },
  2659. {
  2660. "byterange": {
  2661. "length": 535612,
  2662. "offset": 2299992
  2663. },
  2664. "duration": 10,
  2665. "timeline": 0,
  2666. "uri": "hls_450k_video.ts"
  2667. },
  2668. {
  2669. "byterange": {
  2670. "length": 207176,
  2671. "offset": 2835604
  2672. },
  2673. "duration": 10,
  2674. "timeline": 0,
  2675. "uri": "hls_450k_video.ts"
  2676. },
  2677. {
  2678. "byterange": {
  2679. "length": 455900,
  2680. "offset": 3042780
  2681. },
  2682. "duration": 10,
  2683. "timeline": 0,
  2684. "uri": "hls_450k_video.ts"
  2685. },
  2686. {
  2687. "byterange": {
  2688. "length": 657248,
  2689. "offset": 3498680
  2690. },
  2691. "duration": 10,
  2692. "timeline": 0,
  2693. "uri": "hls_450k_video.ts"
  2694. },
  2695. {
  2696. "byterange": {
  2697. "length": 571708,
  2698. "offset": 4155928
  2699. },
  2700. "duration": 10,
  2701. "timeline": 0,
  2702. "uri": "hls_450k_video.ts"
  2703. },
  2704. {
  2705. "byterange": {
  2706. "length": 485040,
  2707. "offset": 4727636
  2708. },
  2709. "duration": 10,
  2710. "timeline": 0,
  2711. "uri": "hls_450k_video.ts"
  2712. },
  2713. {
  2714. "byterange": {
  2715. "length": 709136,
  2716. "offset": 5212676
  2717. },
  2718. "duration": 10,
  2719. "timeline": 0,
  2720. "uri": "hls_450k_video.ts"
  2721. },
  2722. {
  2723. "byterange": {
  2724. "length": 730004,
  2725. "offset": 5921812
  2726. },
  2727. "duration": 10,
  2728. "timeline": 0,
  2729. "uri": "hls_450k_video.ts"
  2730. },
  2731. {
  2732. "byterange": {
  2733. "length": 456276,
  2734. "offset": 6651816
  2735. },
  2736. "duration": 10,
  2737. "timeline": 0,
  2738. "uri": "hls_450k_video.ts"
  2739. },
  2740. {
  2741. "byterange": {
  2742. "length": 468684,
  2743. "offset": 7108092
  2744. },
  2745. "duration": 10,
  2746. "timeline": 0,
  2747. "uri": "hls_450k_video.ts"
  2748. },
  2749. {
  2750. "byterange": {
  2751. "length": 444996,
  2752. "offset": 7576776
  2753. },
  2754. "duration": 10,
  2755. "timeline": 0,
  2756. "uri": "hls_450k_video.ts"
  2757. },
  2758. {
  2759. "byterange": {
  2760. "length": 331444,
  2761. "offset": 8021772
  2762. },
  2763. "duration": 10,
  2764. "timeline": 0,
  2765. "uri": "hls_450k_video.ts"
  2766. },
  2767. {
  2768. "byterange": {
  2769. "length": 44556,
  2770. "offset": 8353216
  2771. },
  2772. "duration": 1.4167,
  2773. "timeline": 0,
  2774. "uri": "hls_450k_video.ts"
  2775. }
  2776. ],
  2777. "targetDuration": 10,
  2778. "endList": true,
  2779. "discontinuitySequence": 0,
  2780. "discontinuityStarts": []
  2781. }
  2782. ,
  2783. "playlistMediaSequenceHigher": {
  2784. "allowCache": true,
  2785. "mediaSequence": 17,
  2786. "playlistType": "VOD",
  2787. "segments": [
  2788. {
  2789. "duration": 6.64,
  2790. "timeline": 0,
  2791. "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
  2792. }
  2793. ],
  2794. "targetDuration": 8,
  2795. "endList": true,
  2796. "discontinuitySequence": 0,
  2797. "discontinuityStarts": []
  2798. }
  2799. ,
  2800. "streamInfInvalid": {
  2801. "allowCache": true,
  2802. "playlists": [
  2803. {
  2804. "attributes": {
  2805. "PROGRAM-ID": 1
  2806. },
  2807. "timeline": 0,
  2808. "uri": "media.m3u8"
  2809. },
  2810. {
  2811. "timeline": 0,
  2812. "uri": "media1.m3u8"
  2813. }
  2814. ],
  2815. "discontinuityStarts": [],
  2816. "mediaGroups": {
  2817. "VIDEO": {},
  2818. "AUDIO": {},
  2819. "CLOSED-CAPTIONS": {},
  2820. "SUBTITLES": {}
  2821. },
  2822. "segments": []
  2823. }
  2824. ,
  2825. "twoMediaSequences": {
  2826. "allowCache": true,
  2827. "mediaSequence": 11,
  2828. "playlistType": "VOD",
  2829. "segments": [
  2830. {
  2831. "duration": 6.64,
  2832. "timeline": 0,
  2833. "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
  2834. },
  2835. {
  2836. "duration": 6.08,
  2837. "timeline": 0,
  2838. "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
  2839. },
  2840. {
  2841. "duration": 6.6,
  2842. "timeline": 0,
  2843. "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
  2844. },
  2845. {
  2846. "duration": 5,
  2847. "timeline": 0,
  2848. "uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
  2849. }
  2850. ],
  2851. "targetDuration": 8,
  2852. "endList": true,
  2853. "discontinuitySequence": 0,
  2854. "discontinuityStarts": []
  2855. }
  2856. ,
  2857. "versionInvalid": {
  2858. "allowCache": true,
  2859. "mediaSequence": 0,
  2860. "playlistType": "VOD",
  2861. "segments": [
  2862. {
  2863. "duration": 10,
  2864. "timeline": 0,
  2865. "uri": "hls_450k_video.ts"
  2866. }
  2867. ],
  2868. "targetDuration": 10,
  2869. "endList": true,
  2870. "discontinuitySequence": 0,
  2871. "discontinuityStarts": []
  2872. }
  2873. ,
  2874. "whiteSpace": {
  2875. "allowCache": true,
  2876. "mediaSequence": 0,
  2877. "playlistType": "VOD",
  2878. "segments": [
  2879. {
  2880. "duration": 10,
  2881. "timeline": 0,
  2882. "uri": "http://example.com/00001.ts"
  2883. },
  2884. {
  2885. "duration": 10,
  2886. "timeline": 0,
  2887. "uri": "https://example.com/00002.ts"
  2888. },
  2889. {
  2890. "duration": 10,
  2891. "timeline": 0,
  2892. "uri": "//example.com/00003.ts"
  2893. },
  2894. {
  2895. "duration": 10,
  2896. "timeline": 0,
  2897. "uri": "http://example.com/00004.ts"
  2898. }
  2899. ],
  2900. "targetDuration": 10,
  2901. "endList": true,
  2902. "discontinuitySequence": 0,
  2903. "discontinuityStarts": []
  2904. }
  2905. ,
  2906. "zeroDuration": {
  2907. "allowCache": true,
  2908. "mediaSequence": 0,
  2909. "playlistType": "VOD",
  2910. "segments": [
  2911. {
  2912. "duration": 0.01,
  2913. "timeline": 0,
  2914. "uri": "http://example.com/00001.ts"
  2915. }
  2916. ],
  2917. "targetDuration": 10,
  2918. "endList": true,
  2919. "discontinuitySequence": 0,
  2920. "discontinuityStarts": []
  2921. }
  2922. };