Skip to main content

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

NameTypeDescription
streamUrlstringthe RTSP URL of the stream from which to get a video frame

Response

{
"image": "<base64 encoded image string>",
}

Response Attribute Descriptions

NameTypeDescription
imagestringthe base64 encoded string reprentation of the frame retrieved from the stream