stream_targets
Create a custom stream target
This operation creates a custom stream target for an external, third-party destination.
post/stream_targets/custom
Request body
Example request
{
"stream_target_custom": {
"name": "My Custom Stream Target",
"primary_url": "rtmp://p.ep337857.i.akamaientrypoint.net/EntryPoint",
"provider": "rtmp",
"stream_name": "c8467d50@337857",
"backup_url": "rtmp://b.ep337857.i.akamaientrypoint.net/EntryPoint",
"password": "cb1e77e98d",
"username": "319699"
}
}Response
Success
Example response
{
"stream_target_custom": {
"created_at": "2020-01-28T17:16:22.011Z",
"delivery_protocols": [
"rtmp"
],
"id": "RMS45lfvx",
"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"
}
}