hls - in a Variant live m3u8 file, does .ts file have the same sequence number in different bitrate playlist with video content -
the question is:
- in different level playlist have same sequence number, must present same content(e.g. both level1-filesequence2.ts, level2-filesequence2.ts duration 10:00:00-10:00:10) ?
- or thest different level's ts file, if present same period content, must have same sequence number?
playlist
#extm3u #ext-x-stream-inf:program-id=1,bandwidth=150000,resolution=416x234, \ codecs="avc1.42e00a,mp4a.40.2" level1.m3u8 #ext-x-stream-inf:program-id=1,bandwidth=240000,resolution=416x234, \ codecs="avc1.42e00a,mp4a.40.2" level2.m3u8
level1.m3u8
#extm3u #ext-x-targetduration:10 #ext-x-version:3 #ext-x-media-sequence:1 #extinf:10, level1-filesequence1.ts #extinf:10, level1-filesequence2.ts
level2.m3u8
#extm3u #ext-x-targetduration:10 #ext-x-version:3 #ext-x-media-sequence:2 #extinf:10, level2-filesequence2.ts #extinf:10, level2-filesequence3.ts
not necessarily, both questions.
as quick note, name of file doesn't matter @ all. hls specification:
a client must not assume segments same media sequence number in different variant streams or renditions have same position in presentation; playlists may have independent media sequence numbers. instead, client must use relative position of each segment on playlist timeline , discontinuity sequence number locate corresponding segments.
source: hls draft
Comments
Post a Comment