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
delete
edit
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.
Remove an account from server. When using this method,
"username" field is necessary, and others are ignored.
Modify the account password and privilege. When using this
method, "username" field is necessary, and other fields are
optional. If not specified, it will keep original settings.
61