Documentation ¶
Overview ¶
Package scte35 implements parts of SCTE-35 according to SCTE-214-1 from 2022.
Index ¶
Constants ¶
View Source
const (
SchemeIDURI = "urn:scte:scte35:2013:bin"
)
Variables ¶
This section is empty.
Functions ¶
func CreateEmsgAhead ¶
CreateEmsgAhead generates an emsg SCTE-35 box if the the segment covers the time 7s before the ad start. Depending on perMinute parameter, the splice inserts are as follows:: 1: 10s after full minute (20s duration) 2: 10s and 40s after full minute (10 duration) 3: 10s, 36s, 46s after full minute (10s duration)
func CreateSpliceInsertPayload ¶
func CreateSpliceInsertPayload(p SpliceInsertParams) []byte
CreateSpliceInsertPayload creates a SCTE-35 splice_info_section including CRC.
func IsValidSCTE35Interval ¶
Returns if requested adsPerMinute value is valid (1, 2, or 3)
Types ¶
Click to show internal directories.
Click to hide internal directories.