Inserting AMF0 messages in RTMP Push Publisher | 0.17.3.0+
When re-streaming 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 dynamically insert messages using the REST API.
Inserting onTextData message
The onTextData
message is used for various purposes, such as subtitle insertion and ad marker insertion.
API Interface
Request
Responses
Payload Example
Here’s an example of a payload encoded in AMF0 format for an onTextData
message:
Inserting onCuePoint message
The onCuePoint
message is used for the purpose of automatic ad cue point insertions to YouTube live broadcasts.
API Interface
Request
Responses
Payload Example
Here’s an example of a payload encoded in AMF0 format for an onCuePoint
message:
Last updated