futzu / SCTE-35_HLS_x9k3

HLS and SCTE-35 x9k3 is a HLS Segmenter with SCTE 35, and Live Streaming from Non-Live Soures and Looping.
67 stars 17 forks source link

Keep the same id in SCTE-OUT/IN pairs inside EXT-X-DATERANGE, as specified in the hls standard #20

Closed chreniuc closed 12 months ago

chreniuc commented 12 months ago

https://github.com/futzu/x9k3/issues/19

The hls standard states that:

An SCTE-35 splice out/in pair signaled by a pair of splice_insert() commands SHOULD be represented by one or more EXT-X-DATERANGE tags carrying the same ID attribute, which MUST be unique to that splice out/in pair.

https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis#section-4.4.5.1.1

This tool generates that pair with different ids for each scte command.

chreniuc commented 12 months ago

The id will be incremented at the end of each pair(when scte-in is generated)