Capture single snapshot
Note: This request require normal user privilege Method: GET/POST
Syntax:
http://<servername>/cgi-bin/viewer/video.jpg?[channel=<value>][&resolution=<value>] [&quality=<value>]
If the user requests the size larger than all stream setting on the server, this request will failed!
PARAMETER
VALUE
channel
0~(n-1)
resolution
<available
resolution>
quality
1~5
Server will return the most up-to-date snapshot of selected channel and stream in JPEG format. The size and
quality of 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 [Content-Length: <image size>\r\n]
<binary JPEG image data>
Account management
Note: This request requires administrator privilege Method: GET/POST
Syntax:
http://<servername>/cgi-bin/admin/editaccount.cgi?
method=<value>&username=<name>[&userpass=<value>][&privilege=<value>]
[&privilege=<value>][...][&return=<return page>] return <return page> Redirect to the page <return page> after
the parameter is assigned. The <return page> can be a full URL path or relative path according the the current
path. If you omit this parameter, it will redirect to an empty page.
PARAMETER
VALUE
method
add
DEFAULT
DESCRIPTION
0
the channel number of video source
0
The resolution of image
3
The quality of image
DESCRIPTION
Add an account to server. When using this method, "username"
field is necessary. It will use default value of other fields if not
specified.
62