stop_monitoring
This endpoint stops monitoring of a stream which was previously added to EyesOnIt and monitored with the add_stream and monitor_stream endpoints.
Method: POST
Endpoint: /stop_monitoring
Body
{
"stream_url": "rtsp://192.168.1.54/live0"
}
Body Attribute Descriptions
Name | Type | Description |
---|---|---|
streamUrl | string | the URL of the stream to stop monitoring. This value must exactly match the stream URL provided to the add_stream endpoint |
Response
{
"success": true,
"message": "successfully stopped stream rtsp://192.168.1.54/live0",
"data": null
}
Response Attribute Descriptions
Name | Type | Description |
---|---|---|
success | boolean | true if the operation was successful. false otherwise. |
message | string | a human readable message describing the operation result |
data | JSON | if the request is not successful, this field provides detailed JSON error information. |