708-captions.js
1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
export const parsedManifest = {
allowCache: true,
discontinuityStarts: [],
duration: 6,
endList: true,
mediaGroups: {
'AUDIO': {},
'CLOSED-CAPTIONS': {
cc: {
// eng: {
// autoselect: false,
// default: false,
// instreamId: '1',
// language: 'eng',
// aspectRatio: 1,
// easyReader: 0,
// '3D': 0
// },
// TODO only this one ends up being represented and not both
eng: {
'autoselect': false,
'default': false,
'instreamId': 'SERVICE2',
'language': 'eng',
'aspectRatio': 1,
'easyReader': 1,
'3D': 0
}
}
},
'SUBTITLES': {},
'VIDEO': {}
},
playlists: [
{
attributes: {
'AUDIO': 'audio',
'BANDWIDTH': 449000,
'CODECS': 'avc1.420015',
'NAME': '482',
'PROGRAM-ID': 1,
'RESOLUTION': {
height: 270,
width: 482
},
'SUBTITLES': 'subs'
},
endList: true,
resolvedUri: '',
targetDuration: 6,
mediaSequence: 0,
segments: [
{
duration: 6,
timeline: 0,
number: 0,
map: {
uri: '',
resolvedUri: 'https://www.example.com/1080p.ts'
},
resolvedUri: 'https://www.example.com/1080p.ts',
uri: 'https://www.example.com/1080p.ts'
}
],
timeline: 0,
uri: ''
}
],
segments: [],
uri: ''
};