Create a live stream simulcast target
POST {{baseUrl}}/video/v1/live-streams/:LIVE_STREAM_ID/simulcast-targets
Create a simulcast target for the parent live stream. Simulcast target can only be created when the parent live stream is in idle state. Only one simulcast target can be created at a time with this API.
Request Body
{"url"=>"rtmp://live.example.com/app", "stream_key"=>"abcdefgh", "passthrough"=>"Example"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"data":{"url":"rtmp://live.example.com/app","stream_key":"abcdefgh","status":"idle","passthrough":"Example","id":"le1axfGDc9ETqh6trHNTxGQ9XEhj02fOnX0200aAh24fwlmwzqKCYNJgw"}}