RestartStream
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
| |||||||||
404 | Stream with such UID not found | ||||||||
403 | Authorization error. Invalid or missing API access token. See Mediaserver / Web API / Authorization / CreateApiToken |
Example | |||||||||
JSON
|