- 59 -
www.vivotek.com
Return:
HTTP/1.0 200 OK\r\n
Content-Type: text/plain\r\n
Content-Length: <length>\r\n
\r\n
<depends on method value>
If(method == get || method == set)
{
tue=<value>\r\n
wed=<value>\r\n
…
}
Else if(method == normal)
{
Application page contents
}
parameter
Value
description
prefix_app_index
sn1, sn2, vc
Index of application
0
Enable snapshot application
snapshot_enable
1
Disable snapshot application
0
Disable videoclip application
videoclip_enable
1
Enable videoclip 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
prefix
<text string
shorter than 60
characters>
Snapshot/Videoclip file name prefix for both
event and sequential operation
User's Manual -
VIVOTEK - A Leading Provider of Multimedia Communication Solutions
- 59 -
www.vivotek.com
Return:
HTTP/1.0 200 OK\r\n
Content-Type: text/plain\r\n
Content-Length: <length>\r\n
\r\n
<depends on method value>
If(method == get || method == set)
{
tue=<value>\r\n
wed=<value>\r\n
…
}
Else if(method == normal)
{
Application page contents
}
parameter
Value
description
prefix_app_index
sn1, sn2, vc
Index of application
0
Enable snapshot application
snapshot_enable
1
Disable snapshot application
0
Disable videoclip application
videoclip_enable
1
Enable videoclip 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
prefix
<text string
shorter than 60
characters>
Snapshot/Videoclip file name prefix for both
event and sequential operation
- 60 -
www.vivotek.com
motion
Set trigger by motion detect
trigger_type
sequential
Snapshot/Videoclip sequentially
maxsize
0~500
Video clip max file size
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
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>