begin_time
hh:mm
end_time
hh:mm
ss_prefix
<text string shorter than
60 characters>
trigger_type
motion
sequential
md_win
0,1,2
md_prenum
1~5
md_postnum
1~5
md_delay
1~999
sq_interval
1~999
send_method
mail
ftp
ftp_suffix
0/1
Capture single snapshot
Note: This request require normal user privilege
Method: GET/POST
Syntax:
http://<servername>/cgi-bin/video.jpg
Server will return the most up-to-date snapshot 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>]
parameter
value
method
add
delete
edit
username
<name>
userpass
<value>
Begin time of weekly schedule
End time of weekly schedule
Snapshot file name prefix for both event and sequential
operation
Set trigger by motion detect
Snapshot sequentially
The array indicate which motion windows are used
The numbers of snapshot before event
The numbers of snapshot after event
The delay seconds for detecting next motion event
The interval seconds of sequential snapshot
Send snapshot by mail
Send snapshot by ftp
Enable/Disable file name prefix
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.
The name of user to add, delete or edit
The password of new user to add or that of old user to
modify. The default value is an empty string.
54