Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
videojs-contrib-hls
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
edfc0e02
authored
2014-01-08 09:50:56 -0800
by
Tom Johnson
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
update manifest tests for segment.timeRanges
1 parent
a8a64770
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
1430 additions
and
697 deletions
test/manifest/absoluteUris.json
test/manifest/allowCache.json
test/manifest/byteRange.json
test/manifest/disallowCache.json
test/manifest/domainUris.json
test/manifest/emptyAllowCache.json
test/manifest/emptyMediaSequence.json
test/manifest/emptyPlaylistType.json
test/manifest/event.json
test/manifest/extinf.json
test/manifest/invalidAllowCache.json
test/manifest/invalidMediaSequence.json
test/manifest/invalidPlaylistType.json
test/manifest/invalidTargetDuration.json
test/manifest/media.json
test/manifest/mediaSequence.json
test/manifest/missingMediaSequence.json
test/manifest/missingSegmentDuration.json
test/manifest/negativeMediaSequence.json
test/manifest/playlist.json
test/manifest/twoMediaSequences.json
test/manifest/absoluteUris.json
View file @
edfc0e0
{
"allowCache"
:
true
,
"targetDuration"
:
10
,
"totalDuration"
:
40
,
"mediaSequence"
:
0
,
"playlistType"
:
"VOD"
,
"segments"
:
[{
"duration"
:
10
,
"uri"
:
"http://example.com/00001.ts"
},
{
"duration"
:
10
,
"uri"
:
"https://example.com/00002.ts"
},
{
"duration"
:
10
,
"uri"
:
"//example.com/00003.ts"
},
{
"duration"
:
10
,
"uri"
:
"http://example.com/00004.ts"
}]
}
"segments"
:
[
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
10
,
"start"
:
0
},
"uri"
:
"http://example.com/00001.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
20
,
"start"
:
10
},
"uri"
:
"https://example.com/00002.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
30
,
"start"
:
20
},
"uri"
:
"//example.com/00003.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
40
,
"start"
:
30
},
"uri"
:
"http://example.com/00004.ts"
}
],
"targetDuration"
:
10
,
"totalDuration"
:
40
}
\ No newline at end of file
...
...
test/manifest/allowCache.json
View file @
edfc0e0
{
"targetDuration"
:
10
,
"totalDuration"
:
161.4167
,
"allowCache"
:
true
,
"mediaSequence"
:
0
,
"playlistType"
:
"VOD"
,
"segments"
:
[{
"duration"
:
10
,
"byterange"
:
{
"length"
:
522828
,
"offset"
:
0
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
587500
,
"offset"
:
522828
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
713084
,
"offset"
:
1110328
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
476580
,
"offset"
:
1823412
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
535612
,
"offset"
:
2299992
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
207176
,
"offset"
:
2835604
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
455900
,
"offset"
:
3042780
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
657248
,
"offset"
:
3498680
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
571708
,
"offset"
:
4155928
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
485040
,
"offset"
:
4727636
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
709136
,
"offset"
:
5212676
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
730004
,
"offset"
:
5921812
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
456276
,
"offset"
:
6651816
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
468684
,
"offset"
:
7108092
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
444996
,
"offset"
:
7576776
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
331444
,
"offset"
:
8021772
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
1.4167
,
"byterange"
:
{
"length"
:
44556
,
"offset"
:
8353216
},
"uri"
:
"hls_450k_video.ts"
}]
}
"segments"
:
[
{
"byterange"
:
{
"length"
:
522828
,
"offset"
:
0
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
10
,
"start"
:
0
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
587500
,
"offset"
:
522828
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
20
,
"start"
:
10
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
713084
,
"offset"
:
1110328
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
30
,
"start"
:
20
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
476580
,
"offset"
:
1823412
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
40
,
"start"
:
30
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
535612
,
"offset"
:
2299992
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
50
,
"start"
:
40
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
207176
,
"offset"
:
2835604
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
60
,
"start"
:
50
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
455900
,
"offset"
:
3042780
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
70
,
"start"
:
60
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
657248
,
"offset"
:
3498680
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
80
,
"start"
:
70
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
571708
,
"offset"
:
4155928
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
90
,
"start"
:
80
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
485040
,
"offset"
:
4727636
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
100
,
"start"
:
90
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
709136
,
"offset"
:
5212676
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
110
,
"start"
:
100
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
730004
,
"offset"
:
5921812
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
120
,
"start"
:
110
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
456276
,
"offset"
:
6651816
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
130
,
"start"
:
120
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
468684
,
"offset"
:
7108092
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
140
,
"start"
:
130
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
444996
,
"offset"
:
7576776
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
150
,
"start"
:
140
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
331444
,
"offset"
:
8021772
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
160
,
"start"
:
150
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
44556
,
"offset"
:
8353216
},
"duration"
:
1.4167
,
"timeRange"
:
{
"end"
:
161.4167
,
"start"
:
160
},
"uri"
:
"hls_450k_video.ts"
}
],
"targetDuration"
:
10
,
"totalDuration"
:
161.4167
}
\ No newline at end of file
...
...
test/manifest/byteRange.json
View file @
edfc0e0
{
"allowCache"
:
true
,
"targetDuration"
:
10
,
"totalDuration"
:
161.4167
,
"mediaSequence"
:
0
,
"playlistType"
:
"VOD"
,
"segments"
:
[{
"duration"
:
10
,
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
587500
,
"offset"
:
522828
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
713084
,
"offset"
:
0
},
"uri"
:
"hls_450k_video2.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
476580
,
"offset"
:
1823412
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
535612
,
"offset"
:
2299992
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
207176
,
"offset"
:
2835604
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
455900
,
"offset"
:
3042780
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
657248
,
"offset"
:
3498680
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
571708
,
"offset"
:
4155928
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
485040
,
"offset"
:
4727636
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
709136
,
"offset"
:
5212676
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
730004
,
"offset"
:
5921812
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
456276
,
"offset"
:
6651816
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
468684
,
"offset"
:
7108092
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
444996
,
"offset"
:
7576776
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
331444
,
"offset"
:
8021772
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
1.4167
,
"byterange"
:
{
"length"
:
44556
,
"offset"
:
8353216
},
"uri"
:
"hls_450k_video.ts"
}]
}
"segments"
:
[
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
10
,
"start"
:
0
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
587500
,
"offset"
:
522828
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
20
,
"start"
:
10
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
713084
,
"offset"
:
0
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
30
,
"start"
:
20
},
"uri"
:
"hls_450k_video2.ts"
},
{
"byterange"
:
{
"length"
:
476580
,
"offset"
:
1823412
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
40
,
"start"
:
30
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
535612
,
"offset"
:
2299992
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
50
,
"start"
:
40
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
207176
,
"offset"
:
2835604
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
60
,
"start"
:
50
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
455900
,
"offset"
:
3042780
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
70
,
"start"
:
60
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
657248
,
"offset"
:
3498680
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
80
,
"start"
:
70
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
571708
,
"offset"
:
4155928
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
90
,
"start"
:
80
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
485040
,
"offset"
:
4727636
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
100
,
"start"
:
90
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
709136
,
"offset"
:
5212676
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
110
,
"start"
:
100
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
730004
,
"offset"
:
5921812
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
120
,
"start"
:
110
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
456276
,
"offset"
:
6651816
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
130
,
"start"
:
120
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
468684
,
"offset"
:
7108092
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
140
,
"start"
:
130
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
444996
,
"offset"
:
7576776
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
150
,
"start"
:
140
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
331444
,
"offset"
:
8021772
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
160
,
"start"
:
150
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
44556
,
"offset"
:
8353216
},
"duration"
:
1.4167
,
"timeRange"
:
{
"end"
:
161.4167
,
"start"
:
160
},
"uri"
:
"hls_450k_video.ts"
}
],
"targetDuration"
:
10
,
"totalDuration"
:
161.4167
}
\ No newline at end of file
...
...
test/manifest/disallowCache.json
View file @
edfc0e0
{
"targetDuration"
:
10
,
"totalDuration"
:
10
,
"allowCache"
:
false
,
"mediaSequence"
:
0
,
"playlistType"
:
"VOD"
,
"segments"
:
[{
"duration"
:
10
,
"byterange"
:
{
"length"
:
522828
,
"offset"
:
0
},
"uri"
:
"hls_450k_video.ts"
}]
}
"segments"
:
[
{
"byterange"
:
{
"length"
:
522828
,
"offset"
:
0
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
10
,
"start"
:
0
},
"uri"
:
"hls_450k_video.ts"
}
],
"targetDuration"
:
10
,
"totalDuration"
:
10
}
\ No newline at end of file
...
...
test/manifest/domainUris.json
View file @
edfc0e0
{
"allowCache"
:
true
,
"targetDuration"
:
10
,
"totalDuration"
:
40
,
"mediaSequence"
:
0
,
"playlistType"
:
"VOD"
,
"segments"
:
[{
"duration"
:
10
,
"uri"
:
"/00001.ts"
},
{
"duration"
:
10
,
"uri"
:
"/subdir/00002.ts"
},
{
"duration"
:
10
,
"uri"
:
"/00003.ts"
},
{
"duration"
:
10
,
"uri"
:
"/00004.ts"
}]
}
"segments"
:
[
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
10
,
"start"
:
0
},
"uri"
:
"/00001.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
20
,
"start"
:
10
},
"uri"
:
"/subdir/00002.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
30
,
"start"
:
20
},
"uri"
:
"/00003.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
40
,
"start"
:
30
},
"uri"
:
"/00004.ts"
}
],
"targetDuration"
:
10
,
"totalDuration"
:
40
}
\ No newline at end of file
...
...
test/manifest/emptyAllowCache.json
View file @
edfc0e0
{
"targetDuration"
:
10
,
"totalDuration"
:
10
,
"allowCache"
:
true
,
"mediaSequence"
:
0
,
"playlistType"
:
"VOD"
,
"segments"
:
[{
"duration"
:
10
,
"byterange"
:
{
"length"
:
522828
,
"offset"
:
0
},
"uri"
:
"hls_450k_video.ts"
}]
}
"segments"
:
[
{
"byterange"
:
{
"length"
:
522828
,
"offset"
:
0
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
10
,
"start"
:
0
},
"uri"
:
"hls_450k_video.ts"
}
],
"targetDuration"
:
10
,
"totalDuration"
:
10
}
\ No newline at end of file
...
...
test/manifest/emptyMediaSequence.json
View file @
edfc0e0
...
...
@@ -2,19 +2,40 @@
"allowCache"
:
true
,
"mediaSequence"
:
0
,
"playlistType"
:
"VOD"
,
"segments"
:
[
{
"duration"
:
6.64
,
"timeRange"
:
{
"end"
:
6.64
,
"start"
:
0
},
"uri"
:
"/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
},
{
"duration"
:
6.08
,
"timeRange"
:
{
"end"
:
12.719999999999999
,
"start"
:
6.64
},
"uri"
:
"/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
},
{
"duration"
:
6.6
,
"timeRange"
:
{
"end"
:
19.32
,
"start"
:
12.719999999999999
},
"uri"
:
"/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
},
{
"duration"
:
5
,
"timeRange"
:
{
"end"
:
24.32
,
"start"
:
19.32
},
"uri"
:
"/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
}
],
"targetDuration"
:
8
,
"totalDuration"
:
24.32
,
"segments"
:
[{
"duration"
:
6.64
,
"uri"
:
"/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
},
{
"duration"
:
6.08
,
"uri"
:
"/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
},
{
"duration"
:
6.6
,
"uri"
:
"/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
},
{
"duration"
:
5
,
"uri"
:
"/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
}]
}
"totalDuration"
:
24.32
}
\ No newline at end of file
...
...
test/manifest/emptyPlaylistType.json
View file @
edfc0e0
{
"allowCache"
:
true
,
"targetDuration"
:
10
,
"totalDuration"
:
58
,
"mediaSequence"
:
0
,
"playlistType"
:
"VOD"
,
"segments"
:
[{
"duration"
:
10
,
"uri"
:
"/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00001.ts"
},
{
"duration"
:
10
,
"uri"
:
"/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00002.ts"
},
{
"duration"
:
10
,
"uri"
:
"/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00003.ts"
},
{
"duration"
:
10
,
"uri"
:
"/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00004.ts"
},
{
"duration"
:
10
,
"uri"
:
"/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00005.ts"
},
{
"duration"
:
8
,
"uri"
:
"/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00006.ts"
}]
}
"segments"
:
[
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
10
,
"start"
:
0
},
"uri"
:
"/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00001.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
20
,
"start"
:
10
},
"uri"
:
"/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00002.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
30
,
"start"
:
20
},
"uri"
:
"/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00003.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
40
,
"start"
:
30
},
"uri"
:
"/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00004.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
50
,
"start"
:
40
},
"uri"
:
"/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00005.ts"
},
{
"duration"
:
8
,
"timeRange"
:
{
"end"
:
58
,
"start"
:
50
},
"uri"
:
"/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00006.ts"
}
],
"targetDuration"
:
10
,
"totalDuration"
:
58
}
\ No newline at end of file
...
...
test/manifest/event.json
View file @
edfc0e0
{
"allowCache"
:
true
,
"targetDuration"
:
10
,
"totalDuration"
:
58
,
"mediaSequence"
:
0
,
"playlistType"
:
"EVENT"
,
"segments"
:
[{
"duration"
:
10
,
"uri"
:
"/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00001.ts"
},
{
"duration"
:
10
,
"uri"
:
"/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00002.ts"
},
{
"duration"
:
10
,
"uri"
:
"/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00003.ts"
},
{
"duration"
:
10
,
"uri"
:
"/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00004.ts"
},
{
"duration"
:
10
,
"uri"
:
"/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00005.ts"
},
{
"duration"
:
8
,
"uri"
:
"/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00006.ts"
}]
}
"segments"
:
[
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
10
,
"start"
:
0
},
"uri"
:
"/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00001.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
20
,
"start"
:
10
},
"uri"
:
"/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00002.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
30
,
"start"
:
20
},
"uri"
:
"/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00003.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
40
,
"start"
:
30
},
"uri"
:
"/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00004.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
50
,
"start"
:
40
},
"uri"
:
"/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00005.ts"
},
{
"duration"
:
8
,
"timeRange"
:
{
"end"
:
58
,
"start"
:
50
},
"uri"
:
"/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00006.ts"
}
],
"targetDuration"
:
10
,
"totalDuration"
:
58
}
\ No newline at end of file
...
...
test/manifest/extinf.json
View file @
edfc0e0
{
"allowCache"
:
true
,
"targetDuration"
:
10
,
"totalDuration"
:
164.7
,
"mediaSequence"
:
0
,
"playlistType"
:
"VOD"
,
"segments"
:
[{
"duration"
:
10
,
"byterange"
:
{
"length"
:
522828
,
"offset"
:
0
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
587500
,
"offset"
:
522828
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
5
,
"byterange"
:
{
"length"
:
713084
,
"offset"
:
1110328
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
9.7
,
"byterange"
:
{
"length"
:
476580
,
"offset"
:
1823412
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
535612
,
"offset"
:
2299992
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
207176
,
"offset"
:
2835604
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
455900
,
"offset"
:
3042780
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
657248
,
"offset"
:
3498680
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
571708
,
"offset"
:
4155928
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
485040
,
"offset"
:
4727636
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
709136
,
"offset"
:
5212676
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
730004
,
"offset"
:
5921812
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
456276
,
"offset"
:
6651816
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
468684
,
"offset"
:
7108092
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
444996
,
"offset"
:
7576776
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"byterange"
:
{
"length"
:
331444
,
"offset"
:
8021772
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
44556
,
"offset"
:
8353216
},
"uri"
:
"hls_450k_video.ts"
}]
}
"segments"
:
[
{
"byterange"
:
{
"length"
:
522828
,
"offset"
:
0
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
10
,
"start"
:
0
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
587500
,
"offset"
:
522828
},
"timeRange"
:
{
"end"
:
NaN
,
"start"
:
10
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
713084
,
"offset"
:
1110328
},
"duration"
:
5
,
"timeRange"
:
{
"end"
:
NaN
,
"start"
:
NaN
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
476580
,
"offset"
:
1823412
},
"duration"
:
9.7
,
"timeRange"
:
{
"end"
:
NaN
,
"start"
:
NaN
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
535612
,
"offset"
:
2299992
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
NaN
,
"start"
:
NaN
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
207176
,
"offset"
:
2835604
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
NaN
,
"start"
:
NaN
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
455900
,
"offset"
:
3042780
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
NaN
,
"start"
:
NaN
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
657248
,
"offset"
:
3498680
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
NaN
,
"start"
:
NaN
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
571708
,
"offset"
:
4155928
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
NaN
,
"start"
:
NaN
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
485040
,
"offset"
:
4727636
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
NaN
,
"start"
:
NaN
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
709136
,
"offset"
:
5212676
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
NaN
,
"start"
:
NaN
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
730004
,
"offset"
:
5921812
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
NaN
,
"start"
:
NaN
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
456276
,
"offset"
:
6651816
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
NaN
,
"start"
:
NaN
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
468684
,
"offset"
:
7108092
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
NaN
,
"start"
:
NaN
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
444996
,
"offset"
:
7576776
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
NaN
,
"start"
:
NaN
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
331444
,
"offset"
:
8021772
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
NaN
,
"start"
:
NaN
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
44556
,
"offset"
:
8353216
},
"uri"
:
"hls_450k_video.ts"
}
],
"targetDuration"
:
10
,
"totalDuration"
:
164.7
}
\ No newline at end of file
...
...
test/manifest/invalidAllowCache.json
View file @
edfc0e0
{
"targetDuration"
:
10
,
"totalDuration"
:
10
,
"allowCache"
:
true
,
"mediaSequence"
:
0
,
"playlistType"
:
"VOD"
,
"segments"
:
[{
"duration"
:
10
,
"byterange"
:
{
"length"
:
522828
,
"offset"
:
0
},
"uri"
:
"hls_450k_video.ts"
}]
}
"segments"
:
[
{
"byterange"
:
{
"length"
:
522828
,
"offset"
:
0
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
10
,
"start"
:
0
},
"uri"
:
"hls_450k_video.ts"
}
],
"targetDuration"
:
10
,
"totalDuration"
:
10
}
\ No newline at end of file
...
...
test/manifest/invalidMediaSequence.json
View file @
edfc0e0
...
...
@@ -2,19 +2,40 @@
"allowCache"
:
true
,
"mediaSequence"
:
0
,
"playlistType"
:
"VOD"
,
"segments"
:
[
{
"duration"
:
6.64
,
"timeRange"
:
{
"end"
:
6.64
,
"start"
:
0
},
"uri"
:
"/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
},
{
"duration"
:
6.08
,
"timeRange"
:
{
"end"
:
12.719999999999999
,
"start"
:
6.64
},
"uri"
:
"/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
},
{
"duration"
:
6.6
,
"timeRange"
:
{
"end"
:
19.32
,
"start"
:
12.719999999999999
},
"uri"
:
"/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
},
{
"duration"
:
5
,
"timeRange"
:
{
"end"
:
24.32
,
"start"
:
19.32
},
"uri"
:
"/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
}
],
"targetDuration"
:
8
,
"totalDuration"
:
24.32
,
"segments"
:
[{
"duration"
:
6.64
,
"uri"
:
"/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
},
{
"duration"
:
6.08
,
"uri"
:
"/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
},
{
"duration"
:
6.6
,
"uri"
:
"/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
},
{
"duration"
:
5
,
"uri"
:
"/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
}]
}
"totalDuration"
:
24.32
}
\ No newline at end of file
...
...
test/manifest/invalidPlaylistType.json
View file @
edfc0e0
{
"allowCache"
:
true
,
"targetDuration"
:
10
,
"totalDuration"
:
58
,
"mediaSequence"
:
0
,
"playlistType"
:
"VOD"
,
"segments"
:
[{
"duration"
:
10
,
"uri"
:
"/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00001.ts"
},
{
"duration"
:
10
,
"uri"
:
"/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00002.ts"
},
{
"duration"
:
10
,
"uri"
:
"/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00003.ts"
},
{
"duration"
:
10
,
"uri"
:
"/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00004.ts"
},
{
"duration"
:
10
,
"uri"
:
"/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00005.ts"
},
{
"duration"
:
8
,
"uri"
:
"/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00006.ts"
}]
}
"segments"
:
[
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
10
,
"start"
:
0
},
"uri"
:
"/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00001.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
20
,
"start"
:
10
},
"uri"
:
"/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00002.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
30
,
"start"
:
20
},
"uri"
:
"/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00003.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
40
,
"start"
:
30
},
"uri"
:
"/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00004.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
50
,
"start"
:
40
},
"uri"
:
"/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00005.ts"
},
{
"duration"
:
8
,
"timeRange"
:
{
"end"
:
58
,
"start"
:
50
},
"uri"
:
"/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00006.ts"
}
],
"targetDuration"
:
10
,
"totalDuration"
:
58
}
\ No newline at end of file
...
...
test/manifest/invalidTargetDuration.json
View file @
edfc0e0
{
"allowCache"
:
true
,
"mediaSequence"
:
0
,
"totalDuration"
:
161.4167
,
"playlistType"
:
"VOD"
,
"segments"
:
[{
"duration"
:
10
,
"byterange"
:
{
"length"
:
522828
,
"offset"
:
0
"segments"
:
[
{
"byterange"
:
{
"length"
:
522828
,
"offset"
:
0
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
10
,
"start"
:
0
},
"uri"
:
"hls_450k_video.ts"
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
{
"byterange"
:
{
"length"
:
587500
,
"offset"
:
522828
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
20
,
"start"
:
10
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
713084
,
"offset"
:
1110328
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
30
,
"start"
:
20
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
476580
,
"offset"
:
1823412
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
40
,
"start"
:
30
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
535612
,
"offset"
:
2299992
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
50
,
"start"
:
40
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
207176
,
"offset"
:
2835604
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
60
,
"start"
:
50
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
455900
,
"offset"
:
3042780
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
70
,
"start"
:
60
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
657248
,
"offset"
:
3498680
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
80
,
"start"
:
70
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
571708
,
"offset"
:
4155928
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
90
,
"start"
:
80
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
485040
,
"offset"
:
4727636
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
100
,
"start"
:
90
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
709136
,
"offset"
:
5212676
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
110
,
"start"
:
100
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
730004
,
"offset"
:
5921812
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
120
,
"start"
:
110
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
456276
,
"offset"
:
6651816
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
130
,
"start"
:
120
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
468684
,
"offset"
:
7108092
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
140
,
"start"
:
130
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
444996
,
"offset"
:
7576776
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
150
,
"start"
:
140
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
331444
,
"offset"
:
8021772
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
160
,
"start"
:
150
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
1.4167
,
},
{
"byterange"
:
{
"length"
:
44556
,
"offset"
:
8353216
},
"duration"
:
1.4167
,
"timeRange"
:
{
"end"
:
161.4167
,
"start"
:
160
},
"uri"
:
"hls_450k_video.ts"
}]
}
}
],
"totalDuration"
:
161.4167
}
\ No newline at end of file
...
...
test/manifest/media.json
View file @
edfc0e0
{
"allowCache"
:
true
,
"targetDuration"
:
10
,
"totalDuration"
:
40
,
"mediaSequence"
:
0
,
"playlistType"
:
"VOD"
,
"segments"
:
[{
"duration"
:
10
,
"uri"
:
"00001.ts"
},
{
"duration"
:
10
,
"uri"
:
"00002.ts"
},
{
"duration"
:
10
,
"uri"
:
"00003.ts"
},
{
"duration"
:
10
,
"uri"
:
"00004.ts"
}]
}
"segments"
:
[
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
10
,
"start"
:
0
},
"uri"
:
"00001.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
20
,
"start"
:
10
},
"uri"
:
"00002.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
30
,
"start"
:
20
},
"uri"
:
"00003.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
40
,
"start"
:
30
},
"uri"
:
"00004.ts"
}
],
"targetDuration"
:
10
,
"totalDuration"
:
40
}
\ No newline at end of file
...
...
test/manifest/mediaSequence.json
View file @
edfc0e0
...
...
@@ -2,19 +2,40 @@
"allowCache"
:
true
,
"mediaSequence"
:
0
,
"playlistType"
:
"VOD"
,
"totalDuration"
:
24.32
,
"segments"
:
[
{
"duration"
:
6.64
,
"timeRange"
:
{
"end"
:
6.64
,
"start"
:
0
},
"uri"
:
"/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
},
{
"duration"
:
6.08
,
"timeRange"
:
{
"end"
:
12.719999999999999
,
"start"
:
6.64
},
"uri"
:
"/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
},
{
"duration"
:
6.6
,
"timeRange"
:
{
"end"
:
19.32
,
"start"
:
12.719999999999999
},
"uri"
:
"/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
},
{
"duration"
:
5
,
"timeRange"
:
{
"end"
:
24.32
,
"start"
:
19.32
},
"uri"
:
"/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
}
],
"targetDuration"
:
8
,
"segments"
:
[{
"duration"
:
6.64
,
"uri"
:
"/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
},
{
"duration"
:
6.08
,
"uri"
:
"/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
},
{
"duration"
:
6.6
,
"uri"
:
"/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
},
{
"duration"
:
5
,
"uri"
:
"/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
}]
}
"totalDuration"
:
24.32
}
\ No newline at end of file
...
...
test/manifest/missingMediaSequence.json
View file @
edfc0e0
{
"allowCache"
:
true
,
"mediaSequence"
:
0
,
"totalDuration"
:
24.32
,
"playlistType"
:
"VOD"
,
"segments"
:
[
{
"duration"
:
6.64
,
"timeRange"
:
{
"end"
:
6.64
,
"start"
:
0
},
"uri"
:
"/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
},
{
"duration"
:
6.08
,
"timeRange"
:
{
"end"
:
12.719999999999999
,
"start"
:
6.64
},
"uri"
:
"/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
},
{
"duration"
:
6.6
,
"timeRange"
:
{
"end"
:
19.32
,
"start"
:
12.719999999999999
},
"uri"
:
"/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
},
{
"duration"
:
5
,
"timeRange"
:
{
"end"
:
24.32
,
"start"
:
19.32
},
"uri"
:
"/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
}
],
"targetDuration"
:
8
,
"segments"
:
[{
"duration"
:
6.64
,
"uri"
:
"/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
},
{
"duration"
:
6.08
,
"uri"
:
"/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
},
{
"duration"
:
6.6
,
"uri"
:
"/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
},
{
"duration"
:
5
,
"uri"
:
"/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
}]
}
"totalDuration"
:
24.32
}
\ No newline at end of file
...
...
test/manifest/missingSegmentDuration.json
View file @
edfc0e0
...
...
@@ -2,16 +2,25 @@
"allowCache"
:
true
,
"mediaSequence"
:
0
,
"playlistType"
:
"VOD"
,
"segments"
:
[
{
"duration"
:
6.64
,
"timeRange"
:
{
"end"
:
6.64
,
"start"
:
0
},
"uri"
:
"/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
},
{
"uri"
:
"/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
},
{
"uri"
:
"/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
},
{
"uri"
:
"/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
}
],
"targetDuration"
:
8
,
"totalDuration"
:
30.64
,
"segments"
:
[{
"duration"
:
6.64
,
"uri"
:
"/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
},
{
"uri"
:
"/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
},
{
"uri"
:
"/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
},
{
"uri"
:
"/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
}]
}
"totalDuration"
:
30.64
}
\ No newline at end of file
...
...
test/manifest/negativeMediaSequence.json
View file @
edfc0e0
{
"allowCache"
:
true
,
"mediaSequence"
:
-11
,
"totalDuration"
:
24.32
,
"playlistType"
:
"VOD"
,
"segments"
:
[
{
"duration"
:
6.64
,
"timeRange"
:
{
"end"
:
6.64
,
"start"
:
0
},
"uri"
:
"/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
},
{
"duration"
:
6.08
,
"timeRange"
:
{
"end"
:
12.719999999999999
,
"start"
:
6.64
},
"uri"
:
"/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
},
{
"duration"
:
6.6
,
"timeRange"
:
{
"end"
:
19.32
,
"start"
:
12.719999999999999
},
"uri"
:
"/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
},
{
"duration"
:
5
,
"timeRange"
:
{
"end"
:
24.32
,
"start"
:
19.32
},
"uri"
:
"/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
}
],
"targetDuration"
:
8
,
"segments"
:
[{
"duration"
:
6.64
,
"uri"
:
"/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
},
{
"duration"
:
6.08
,
"uri"
:
"/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
},
{
"duration"
:
6.6
,
"uri"
:
"/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
},
{
"duration"
:
5
,
"uri"
:
"/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
}]
}
"totalDuration"
:
24.32
}
\ No newline at end of file
...
...
test/manifest/playlist.json
View file @
edfc0e0
{
"allowCache"
:
true
,
"targetDuration"
:
10
,
"totalDuration"
:
161.4167
,
"mediaSequence"
:
0
,
"playlistType"
:
"VOD"
,
"segments"
:
[{
"duration"
:
10
,
"byterange"
:
{
"length"
:
522828
,
"offset"
:
0
"segments"
:
[
{
"byterange"
:
{
"length"
:
522828
,
"offset"
:
0
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
10
,
"start"
:
0
},
"uri"
:
"hls_450k_video.ts"
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
{
"byterange"
:
{
"length"
:
587500
,
"offset"
:
522828
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
20
,
"start"
:
10
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
713084
,
"offset"
:
1110328
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
30
,
"start"
:
20
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
476580
,
"offset"
:
1823412
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
40
,
"start"
:
30
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
535612
,
"offset"
:
2299992
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
50
,
"start"
:
40
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
207176
,
"offset"
:
2835604
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
60
,
"start"
:
50
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
455900
,
"offset"
:
3042780
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
70
,
"start"
:
60
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
657248
,
"offset"
:
3498680
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
80
,
"start"
:
70
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
571708
,
"offset"
:
4155928
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
90
,
"start"
:
80
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
485040
,
"offset"
:
4727636
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
100
,
"start"
:
90
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
709136
,
"offset"
:
5212676
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
110
,
"start"
:
100
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
730004
,
"offset"
:
5921812
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
120
,
"start"
:
110
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
456276
,
"offset"
:
6651816
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
130
,
"start"
:
120
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
468684
,
"offset"
:
7108092
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
140
,
"start"
:
130
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
444996
,
"offset"
:
7576776
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
10
,
"timeRange"
:
{
"end"
:
150
,
"start"
:
140
},
"uri"
:
"hls_450k_video.ts"
},
{
"byterange"
:
{
"length"
:
331444
,
"offset"
:
8021772
},
"duration"
:
10
,
"timeRange"
:
{
"end"
:
160
,
"start"
:
150
},
"uri"
:
"hls_450k_video.ts"
},
{
"duration"
:
1.4167
,
},
{
"byterange"
:
{
"length"
:
44556
,
"offset"
:
8353216
},
"duration"
:
1.4167
,
"timeRange"
:
{
"end"
:
161.4167
,
"start"
:
160
},
"uri"
:
"hls_450k_video.ts"
}]
}
}
],
"targetDuration"
:
10
,
"totalDuration"
:
161.4167
}
\ No newline at end of file
...
...
test/manifest/twoMediaSequences.json
View file @
edfc0e0
...
...
@@ -2,19 +2,40 @@
"allowCache"
:
true
,
"mediaSequence"
:
11
,
"playlistType"
:
"VOD"
,
"segments"
:
[
{
"duration"
:
6.64
,
"timeRange"
:
{
"end"
:
6.64
,
"start"
:
0
},
"uri"
:
"/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
},
{
"duration"
:
6.08
,
"timeRange"
:
{
"end"
:
12.719999999999999
,
"start"
:
6.64
},
"uri"
:
"/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
},
{
"duration"
:
6.6
,
"timeRange"
:
{
"end"
:
19.32
,
"start"
:
12.719999999999999
},
"uri"
:
"/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
},
{
"duration"
:
5
,
"timeRange"
:
{
"end"
:
24.32
,
"start"
:
19.32
},
"uri"
:
"/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
}
],
"targetDuration"
:
8
,
"totalDuration"
:
24.32
,
"segments"
:
[{
"duration"
:
6.64
,
"uri"
:
"/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
},
{
"duration"
:
6.08
,
"uri"
:
"/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
},
{
"duration"
:
6.6
,
"uri"
:
"/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
},
{
"duration"
:
5
,
"uri"
:
"/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
}]
}
"totalDuration"
:
24.32
}
\ No newline at end of file
...
...
Please
register
or
sign in
to post a comment