Get Started
Studio API
- Introduction
- Streaming
- Live Streams
- Simulcasts
- Clips
- Videos
- Video Protection
- Configurations
- Assets
- CMS
- OTT
- Monetization
- IAM
- Integration
- Analytics
Content Delivery API
Deep dive
Simulcasts
Update simulcast
UpdateSimulcast
Updates simulcast’s name and/or target. It’s only available for simulcast with IDLE status.
PATCH
/
streaming
/
simulcasts
/
v1
/
{simulcast_id}
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>",
"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>"
}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
application/json
Name of the simulcast
Response
200
application/json
OK
Id of the simulcast
Name of the simulcast
Available options:
SIMULCAST_STATUS_UNSPECIFIED
, SIMULCAST_STATUS_IDLE
, SIMULCAST_STATUS_STARTING
, SIMULCAST_STATUS_ACTIVE
, SIMULCAST_STATUS_STOPPED
, SIMULCAST_STATUS_FAILED
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>",
"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>"
}
}
}