llhls-delta-byte-range.js
2.75 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
module.exports = {
allowCache: true,
discontinuitySequence: 0,
discontinuityStarts: [],
mediaSequence: 0,
playlistType: 'VOD',
preloadSegment: {
parts: [
{
duration: 0.33334,
uri: 'hls_450k_video.ts',
byterange: {
length: 22444,
offset: 0
}
}
],
preloadHints: [
{
type: 'PART',
uri: 'filePart273.1.mp4',
byterange: {
length: 2000,
offset: 22444
}
},
{
type: 'MAP',
uri: 'file-init.mp4',
byterange: {
length: 5000,
offset: 8377660
}
},
{
type: 'FOO',
uri: 'foo.mp4',
byterange: {
length: 5000,
offset: 0
}
}
],
timeline: 0
},
segments: [
{
byterange: {
length: 468684,
offset: 7108092
},
duration: 10,
timeline: 0,
uri: 'hls_450k_video.ts'
},
{
byterange: {
length: 444996,
offset: 7576776
},
duration: 10,
timeline: 0,
uri: 'hls_450k_video.ts'
},
{
byterange: {
length: 331444,
offset: 8021772
},
duration: 10,
parts: [
{
duration: 0.33334,
uri: 'hls_450k_video.ts',
byterange: {
length: 45553,
offset: 0
}
},
{
duration: 0.33334,
uri: 'hls_450k_video.ts',
byterange: {
length: 28823,
offset: 7622329
}
},
{
duration: 0.33334,
uri: 'hls_450k_video.ts',
byterange: {
length: 22444,
offset: 7651152
}
},
{
duration: 0.33334,
uri: 'hls_450k_video.ts',
byterange: {
length: 22444,
offset: 7673596
}
}
],
timeline: 0,
uri: 'hls_450k_video.ts'
},
{
byterange: {
length: 44556,
offset: 8353216
},
duration: 1.4167,
parts: [
{
duration: 0.33334,
uri: 'hls_450k_video.ts',
byterange: {
length: 45553,
offset: 8021772
}
},
{
duration: 0.33334,
uri: 'hls_450k_video.ts',
byterange: {
length: 28823,
offset: 8067325
}
},
{
duration: 0.33334,
uri: 'hls_450k_video.ts',
byterange: {
length: 22444,
offset: 8096148
}
}
],
timeline: 0,
uri: 'hls_450k_video.ts'
}
],
skip: {
skippedSegments: 3
},
targetDuration: 10,
version: 3
};