Skip to main content

RestartStream. Strеam. Mediaserver

Restart the stream. The current connection to the source is interrupted, DVR is restarted, and the stream state and buffers are cleared.

PUT /api/streams/{stream-uid}/restart/
Body
stream-uidoptional
uid
Unique stream identifier {@hint:uid}
tokenrequired
string
API request authorization token. See Mediaserver / Web API / Authorization / CreateApiToken
Response
200
Returns the stream UID
JSON
{
    "uid": "0a20f93c-d370-4107-8548-97bb64c53ed2"
}
404
Stream with such UID not found
403
Authorization error. Invalid or missing API access token. See Mediaserver / Web API / Authorization / CreateApiToken
Example
JSON
curl -k --location --request PUT 'https://localhost:8080/api/streams/{stream-uid}/restart/?token=string'
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.