Inserting ad markers (EXT-X-CUE-OUT/EXT-X-CUE-IN) | v0.17.3.0+
You can dynamically insert ad markers into LL-HLS and HLS playlists using the REST API.
When requesting the CUE-OUT event, the following tags will be added to the playlist:
#EXT-X-CUE-OUT
and #EXT-X-CUE-IN
are a pair, and the entire section between the two tags will be replaced with ad content by the ad server.
DURATION=<time>
is required and represents the duration of the ad.
You can request the CUE-IN event to end an inserted ad early. When the event is called, the #EXT-X-CUE-IN
tag is immediately added to the playlist, and the previously added #EXT-X-CUE-IN
tag is removed.
API Interface
Request
Responses
PreviousInserting AMF0 messages in RTMP Push Publisher | 0.17.3.0+NextInserting SEI into H.264 (AVC) Streams | v0.18.0+
Last updated