For accurate ad-insertions or replacement, the type and the timing of the SCTE35 marker is of high importance and must reach the following requirements:
Example SCTE35 marker in HLS LIVE
Copy #EXT-X-CUE-OUT:30.000
.
#EXT-X-CUE-OUT-CONT: 8.308/30
.
#EXT-X-CUE-OUT-CONT: 20.391/30
.
#EXT-X-CUE-IN
CUE-OUT-Style: scte35 enhanced
Copy #EXT-OATCLS-SCTE35:/DA0AAAAAAAAAAAABQb+ADAQ6QAeAhxDVUVJQAAAO3/PAAEUrEoICAAAAAAg+2UBNAAANvrtoQ==
#EXT-X-ASSET:CAID=0x0000000020FB6501
#EXT-X-CUE-OUT:30.000
.
#EXT-X-CUE-OUT-CONT:ElapsedTime=5.939,Duration=30.000,SCTE35=/DA0AAAA+…AAg+2UBNAAANvrtoQ==
.
#EXT-X-CUE-IN
CUE-OUT-Style: UnifiedStreaming
Copy #EXT-X-DATERANGE:ID="20",START-DATE="2020-06-03T14:56:00Z",PLANNED-DURATION=19,SCTE35-OUT=0xFC302000000000000000FFF00F05000000147FFFFE001A17B0C0000000000061DFD67D
#EXT-X-CUE-OUT:19
#EXT-X-PROGRAM-DATE-TIME:2020-06-03T14:56:00Z
.
#EXT-X-CUE-IN
CueOutStyle: EdgeWare scte35
Copy #EXT-X-SCTE35:CUE-OUT=YES,ID="22",DURATION=22.000,CUE="/DAlAAETZlHBAP/wFAUAAAAWf+//UmtLsH4AHjZgAAAAAAAAsf7cfA=="
.
#EXT-X-SCTE35:CUE-IN=YES,ID="22",DURATION=22.000,CUE="/DAlAAETZlHBAP/wFAUAAAAWf+//UmtLsH4AHjZgAAAAAAAAsf7cfA=="
Copy #EXT-X-CUE-OUT:DURATION=30
#EXT-X-CUE-OUT-CONT: 20.391/30
.
#EXT-X-CUE-IN
Copy
#EXT-X-DATERANGE:ID="250520230322162753",START-DATE="2021-01-22T16:27:53.680Z",PLANNED-DURATION=135.200,SCTE35-OUT=0xfc302500000d9c536700fff01405000009c97fefffc6533580fe00b9ab40000000000000f6d0864c
Copy #EXT-X-SCTE35:TYPE=0x37,CUE="/DBQAAAAAAAAAP/wFAUAAAfRf+//hxagD34AUpJOAAEAAAArAQpDVUVJPJ8jKjAwAh1DVUVJAAAH0X//AABSZcABCTAwMDAwMDAwMDYAAJ2hyjY="
.
#EXT-X-SCTE35:TYPE=0x22,ELAPSED=0.000,CUE="/DBBAAAAAAAAAP/wBQb/ht+vOgArAQpDVUVJFJ8jKjAyAh1DVUVJAAAD6X//AACJgywBCTAwMDAwMDAwMCIBAUtyN64="
CueOutStyle: EXT-X-SPLICEPOINT
Copy #EXT-X-SPLICEPOINT-SCTE35:/DBgAAAAAAAAAP/wBQb/zSI7PwBKAh5DVUVJAAAAHn+DDA9NRFNOQjAwMTc5ODA1NTI3AAACKENVRUkAAAAff8MAAKpl4AwUTURTTkYzMTIwNTgzMDEwMDIzMDEQAADq1t3O
Example SCTE35 marker in MPEG-DASH LIVE
Copy <EventStream schemeIdUri="urn:scte:scte35:2013a:bin" value="scte35_track_001_000" timescale="50000">
<Event presentationTime="77934885650300" duration="1500000" id="31218">/DAlAAAAAAAAAP/wFAUAAHnyf+/+Ih1YrP4AKTLgAAAAAAAAXos7AQ==</Event>
</EventStream>