mirror of
https://github.com/rutgersc/m3u8-rs.git
synced 2024-12-23 15:00:28 +00:00
65c295ee02
The RFC requires this to be the very first line of every master/media playlist, and without this we would be parsing arbitrary text files as playlist without erroring out. See https://datatracker.ietf.org/doc/html/rfc8216#section-4.3.1.1 Fixes https://github.com/rutgersc/m3u8-rs/issues/27
13 lines
184 B
Text
13 lines
184 B
Text
#EXTM3U
|
|
#EXT-X-TARGETDURATION:10
|
|
#EXT-X-VERSION:3
|
|
#EXT-X-MEDIA-SEQUENCE:0
|
|
#EXTINF:10.0,
|
|
ad0.ts
|
|
#EXTINF:8.0,
|
|
ad1.ts
|
|
#EXT-X-DISCONTINUITY
|
|
#EXTINF:10.0,
|
|
movieA.ts
|
|
#EXTINF:10.0,
|
|
movieB.ts
|