VIVOTEK
358 - User's Manual
© 2022 VIVOTEK INC. All Right Reserved
220
Response:
HTTP/1.0 200 OK\r\n
Content-Type: text/plain\r\n
Content-Length: 7\r\n
\r\n
do0=1\r\n
8.4
Capture Single Snapshot
Note:
This request requires Normal User privileges.
Method:
GET/POST
Syntax:
http://<
servername
>/cgi-bin/viewer/video.jpg?[channel=<value>][&resolution=<value>]
[&quality=<value>][&streamid=<value>]
If the request contains invalid parameters, a full FOV snapshot will return.
PARAMETER VALUE
DESCRIPTION
channel
0~(capability_nvideoin -1)
The channel number of the video
source.
Default: 0
resolution Available options are list in
"capability_videoin_c<0~(n-1)>_resolution".
Besides, available options is referred to
"capability_videoin_c<0~(n-
1)>_maxresolution" and
"capability_videoin_c<0~(n-1)>_minresolution"
The resolution of the image.
Default: Returns snapshot of current
resolution by [channel] and
[streamid].
quality
1~5
The quality of the image.
streamid
0~( capability_nmediastream -1)
The stream number.
Default: Returns snapshot of
maxmum resolution for current
channel.
The server will return the most up-to-date snapshot of the selected channel and stream in JPEG
format. The size and quality of the image will be set according to the video settings on the server.
Return:
HTTP/1.0 200 OK\r\n
Content-Type: image/jpeg\r\n