hls-parser icon indicating copy to clipboard operation
hls-parser copied to clipboard

How do I add custom data per segment?

Open twilson90 opened this issue 1 year ago • 1 comments

How do I add custom data per segment and stringify it?

twilson90 avatar Sep 08 '25 13:09 twilson90

How about using marker?

% node index.js

#EXTM3U
#EXT-X-TARGETDURATION:9
#EXT-X-PLAYLIST-TYPE:VOD
#DATA-1:YWJjZGVm
#DATA-2:Z2hpamts
#EXTINF:6,
main/1.m3u8
#DATA-3:bW5vcHFy
#EXTINF:6,
main/2.m3u8
#EXT-X-ENDLIST

index.js

kuu avatar Sep 09 '25 13:09 kuu