get_preview_video_frame
This method gets a video frame from a stream that has not been added to EyesOnIt.
Method: POST
Endpoint: /get_preview_video_frame
Body
{
"stream_url": "rtsp://192.168.1.54/live0"
}
Body Attribute Descriptions
Name | Type | Description |
---|---|---|
streamUrl | string | the RTSP URL of the stream from which to get a video frame |
Response
{
"image": "<base64 encoded image string>",
}
Response Attribute Descriptions
Name | Type | Description |
---|---|---|
image | string | the base64 encoded string reprentation of the frame retrieved from the stream |