curl --request PATCH \
--url https://api.mottostreaming.com/streaming/simulcasts/v1/{simulcast_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"simulcast_id": "<string>",
"live_stream_id": "<string>",
"simulcast": {
"name": "<string>",
"rtmp_target": {
"url": "<string>",
"stream_key": "<string>"
},
"srt_target": {
"url": "<string>"
}
},
"update_mask": "<string>"
}
'{
"simulcast": {
"id": "<string>",
"name": "<string>",
"status": "SIMULCAST_STATUS_UNSPECIFIED",
"rtmp_target": {
"url": "<string>",
"stream_key": "<string>"
},
"srt_target": {
"url": "<string>"
},
"is_external": true
}
}UpdateSimulcast
Updates simulcast’s name and/or target. It’s only available for simulcast with IDLE status.
curl --request PATCH \
--url https://api.mottostreaming.com/streaming/simulcasts/v1/{simulcast_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"simulcast_id": "<string>",
"live_stream_id": "<string>",
"simulcast": {
"name": "<string>",
"rtmp_target": {
"url": "<string>",
"stream_key": "<string>"
},
"srt_target": {
"url": "<string>"
}
},
"update_mask": "<string>"
}
'{
"simulcast": {
"id": "<string>",
"name": "<string>",
"status": "SIMULCAST_STATUS_UNSPECIFIED",
"rtmp_target": {
"url": "<string>",
"stream_key": "<string>"
},
"srt_target": {
"url": "<string>"
},
"is_external": true
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
Name of the simulcast
OK
Show child attributes
Id of the simulcast
Name of the simulcast
SIMULCAST_STATUS_UNSPECIFIED, SIMULCAST_STATUS_IDLE, SIMULCAST_STATUS_STARTING, SIMULCAST_STATUS_ACTIVE, SIMULCAST_STATUS_STOPPED, SIMULCAST_STATUS_FAILED If true, this indicates the simulcast is configured to operate in a third-party environment like Cloudflare. This means that some features may not be available.