remove_stream
This method removes a stream from EyesOnIt which was previously added through the add_stream endpoint. When a stream is removed from EyesOnIt the license for that stream will be free to use for another stream after 24 hours.
Method: POST
Endpoint: /remove_stream
Body
{
"stream_url": "rtsp://192.168.1.54/live0"
}
Body Attribute Descriptions
Name | Type | Description |
---|---|---|
stream_url | string | the URL of the stream to remove. This URL must exactly match the streamUrl provided to the add_stream endpoint. |
Response
{
"success": true,
"message":"successfully removed 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. |