onCuePoint Message Insertion
OvenMediaEngine Enterprise supports onCuePoint messages insertion starting from version 0.17.3.0-1.
Last updated
OvenMediaEngine Enterprise supports onCuePoint messages insertion starting from version 0.17.3.0-1.
Last updated
When re-streaming (Push Publishing) a live stream to another system using the RTMP protocol, you can insert AMF0 messages. Utilizing this feature, you can deliver messages such as subtitle insertions and advertisement markers to another system. The method for inserting messages is as follows:
If the Media Source received through the RTMP Provider includes a message, it will be automatically inserted.
You can insert messages dynamically through the OvenMediaEngine's Send Event API.
The onCuePoint
message is used for the purpose of automatic ad cue point insertions to YouTube live broadcasts.
Request
Responses
Here’s an example of a payload encoded in AMF0 format for an onCuePoint
message:
string-marker “onCuePoint”
object-marker
“type” string-marker “com.youtube.cuepoint”
“version” string-marker “0.1”
“pre_roll_time_sec” number-marker 2.56
“cue_point_start” boolean-marker 1
“break_duration_sec” number-marker 30
“splice_event_id” number-marker 0
UTF-8-empty object-end-marker