tencent cloud

All product documents
StreamPackage
Inserting Ad Marker
Last updated: 2025-04-16 11:26:21
Inserting Ad Marker
Last updated: 2025-04-16 11:26:21
StreamPackage SSAI allows only recognizing specified types of SCTE-35 markers as ad markers for processing.

HLS supported ad markers

StreamPackage SSAI service supports identifying the following types of ad markers in HLS manifests
EXT-X-CUE-OUT and EXT-X-CUE-IN
#EXT-X-CUE-OUT:DURATION=120
...
#EXT-X-CUE-IN
#EXT-X-CUE-OUT:30.000
...
#EXT-X-CUE-IN
#EXT-X-CUE-OUT
...
#EXT-X-CUE-IN
Enhanced SCTE-35
#EXT-OATCLS-SCTE35:/AAgAAAAAAAAAAAADwUAAAABAPCAABSZcAAAAAAAABcABfA=
#EXT-X-CUE-OUT:15
...
#EXT-X-CUE-OUT-CONT:ElapsedTime=4,Duration=15,SCTE35=/AAgAAAAAAAAAAAADwUAAAABAPCAABSZcAAAAAAAABcABfA=
...
#EXT-X-CUE-IN
EXT-X-DATERANGE
#EXT-X-DATERANGE:ID="1852585_2g9l0824",START-DATE="2024-12-09T16:05:11.839+08:00",DURATION=30.000,PLANNED-DURATION=30.000,SCTE35-OUT=0xFC002F0000000000FF000014056FFFFFF000E011622DCAFF000052636200000000000A0008029896F50000008700000000

Ad marker handling

StreamPackage SSAI replaces the EXT-X-CUE-OUT, EXT-X-CUE-OUT-CONT, and EXT-X-CUE-IN tags in the input manifest with the EXT-X-DISCONTINUITY tag in the output manifest.
The EXT-X-DISCONTINUITY tag appears at the following boundaries:
Where the source stream switches to an ad
Where one ad switches to another ad
Where the ad switches back to the source stream

Use StreamLive to insert ad markers for live streams

1. Refer to the Implementing Live Steaming in the StreamLive feature guide to implement StreamLive streaming.
2. Turn on the SCTE-35 pass-through function in the Output of the StreamLive channel.
image.png#608px #137px


3. In the Plan of the StreamLive Channel, click Create Event, select the event type and time, and you can insert SCTE-35 events into the live stream.
image.png



Ad markers in VOD

1. The current StreamPackage is capable of processing ad markers within HLS on-demand files; moreover, on-demand files can also designate ad insertion points through the use of VMAP.
2. In future updates to StreamPackage, we will also support the functionality of inserting advertisement markers into on-demand files.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 available.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon