untangledco / streaming

Media streaming and broadcast systems in Go
https://twitch.tv/untangledco
ISC License
82 stars 5 forks source link

scte35: un-export EventIDCompliance? #2

Closed ollytom closed 3 months ago

ollytom commented 3 months ago

For every test case, Segmentation.EventIDCompliance (or anywhere else a so-called event ID field is) the value is always true. But this isn't really specified in plain language in the specs. It looks like it should be calculated from the associated event ID at encode/decode time.

Arguably we don't really need to have the field, exported or not, in the struct. Relevant structures are: