Restreams
Change restream
Changed onUpdates restream settings, such as the target URI or active status
patch/streaming/restreams/{restream_id}
Request
- Base URLhttps://api.gcore.com
- URLhttps://api.gcore.com/streaming/restreams/{restream_id}
- AuthHTTP apikey
Path parameters
restream_idinteger required
Restream ID
Request body
Example request
{
"restream": {
"name": "first restream",
"active": true,
"uri": "rtmp://a.rtmp.youtube.com/live/k17a-13s8",
"stream_id": 20,
"client_user_id": 10,
"source": "original",
"no_audio": true,
"no_audio_mode": "silence"
}
}Response
Successful
Example response
{
"id": 287834,
"name": "Live Stream to Youtube 2024-06-21",
"live": false,
"active": true,
"client_id": 102748,
"uri": "rtmp://a.rtmp.youtube.com/live2/6w4g-9cw7-62dh-c6se-b4hq",
"stream_id": 1439046,
"playlist_id": null,
"client_user_id": 1000,
"quality_id": null,
"source": "transcoded"
}Changes
- info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added
subschema #2to the response bodyallOflist for the response status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status
- info