3c5fb8b7 by BCJwhisenant

more tests for manifest parsing

1 parent 74845780
1 {
2 "allowCache": true,
3 "mediaSequence": 0,
4 "playlistType": "VOD",
5 "segments": [
6 {
7 "byterange": {
8 "length": 522828,
9 "offset": 0
10 },
11 "duration": 10,
12 "timeRange": {
13 "end": 10,
14 "start": 0
15 },
16 "uri": "hls_450k_video.ts"
17 }
18 ],
19 "targetDuration": 10,
20 "totalDuration": 10
21 }
1 #EXTM3U
2 #EXT-X-TARGETDURATION:10
3 #EXT-X-VERSION:4
4 #EXT-X-ALLOW-CACHE:0
5 #EXT-X-MEDIA-SEQUENCE:0
6 #EXT-X-PLAYLIST-TYPE:VOD
7 #EXTINF:10,
8 #EXT-X-BYTERANGE:522828@0
9 hls_450k_video.ts
10 #EXT-X-ENDLIST
1 {
2 "allowCache": true,
3 "totalDuration": 0,
4 "playlists": [
5 {
6 "attributes": {
7 "PROGRAM-ID": 1,
8 },
9 "uri": "media.m3u8"
10 },
11 {
12 "uri": "media1.m3u8"
13 }
14 ]
15 }
1 # A simple master playlist with multiple variant streams
2 #EXTM3U
3 #EXT-X-STREAM-INF:PROGRAM-ID=1
4 media.m3u8
5 #EXT-X-STREAM-INF:
6 media1.m3u8
1 {
2 "allowCache": true,
3 "mediaSequence": 0,
4 "playlistType": "VOD",
5 "segments": [
6 {
7 "duration": 10,
8 "timeRange": {
9 "end": 10,
10 "start": 0
11 },
12 "uri": "hls_450k_video.ts"
13 },
14 ],
15 "targetDuration": 10,
16 "totalDuration": 10
17 }
1 #EXTM3U
2 #EXT-X-TARGETDURATION:10
3 #EXT-X-VERSION:NaN
4 #EXT-X-MEDIA-SEQUENCE:0
5 #EXT-X-PLAYLIST-TYPE:VOD
6 #EXTINF:10,
7 hls_450k_video.ts
8 #EXT-X-ENDLIST