Create a custom stream target
POST {{baseUrl}}/stream_targets/custom
This operation creates a custom stream target for an external, third-party destination.
Request Body
{"stream_target_custom"=>{"name"=>"My Custom Stream Target", "primary_url"=>"rtmp://p.ep123456.i.akamaientrypoint.net/EntryPoint", "provider"=>"rtmp", "stream_name"=>"c8467d50@123456"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"stream_target_custom":{"created_at":"2020-01-28T17:16:22.011Z","delivery_protocols":["rtmp"],"name":"My Custom Stream Target","playback_urls":{"rtmp":[{"name":"default","url":"rtmp://cp123456.live.edgefcs.net/live/[EVENT]@654321"}]},"primary_url":"rtmp://p.ep123456.i.akamaientrypoint.net/EntryPoint","provider":"rtmp","stream_name":"c8467d50@123456","updated_at":"2020-01-30T19:14:11.011Z"}}