- 65 -
www.vivotek.com
Else if(method == normal)
{
Application page contents
}
parameter
Value
description
0
Enable snapshot application
snapshot_enable
1
Disable snapshot application
weekday
0,1,2,3,4,5,6
The array indicate weekly schedule
always
24 hours full day
time_method
interval
Select begin time and end time
begin_time
hh:mm
Begin time of weekly schedule
end_time
hh:mm
End time of weekly schedule
ss_prefix
<text string
shorter than 60
characters>
Snapshot file name prefix for both event and
sequential operation
motion
Set trigger by motion detect
trigger_type
sequential
Snapshot sequentially
md_win
0,1,2
The array indicate which motion windows are used
md_prenum
1~5
The numbers of snapshot before event
md_postnum
1~5
The numbers of snapshot after event
md_delay
1~999
The delay seconds for detecting next motion event
sq_interval
1~999
The interval seconds of sequential snapshot
Send snapshot by mail
send_method
ftp
Send snapshot by ftp
ftp_suffix
0/1
Enable/Disable file name prefix
Capture single snapshot
Note: This request require normal user privilege
Method: GET/POST
- 66 -
www.vivotek.com
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
Description
add
Add an account to server. When using this method,
“username” field is necessary. It will use default value
of other fields if not specified.
method
delete
Remove an account from server. When using this
method, “username” field is necessary, and others are
ignored.
- User's Manual
VIVOTEK - A Leading Provider of Multimedia Communication Solutions
- 66 -
www.vivotek.com
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
Description
add
Add an account to server. When using this method,
“username” field is necessary. It will use default value
of other fields if not specified.
method
delete
Remove an account from server. When using this
method, “username” field is necessary, and others are
ignored.