PauseStreamBroadcast
Control of playback and stream capture. Does not affect DVR management. State is not saved. It only serves for temporary changes and after server reboot is reset to the initial state.
PUT /api/streams/{stream-uid}/broadcast/
Body | |||||||||
stream-uidoptional | uid | Unique identifier of the stream {@hint:uid} | |||||||
pauserequired | bool | Indicates which actions need to be taken with the stream broadcast | |||||||
tokenrequired | string | API authorization token. See Mediaserver/Web API/Authorization/CreateApiToken |
Response | |||||||||
200 | Returns the UID of the stream | ||||||||
JSON
| |||||||||
404 | Stream with this UID was not found | ||||||||
403 | Authorization error. Invalid or missing API access token. See Mediaserver/Web API/Authorization/CreateApiToken |
Example | |||||||||
JSON
|