Capture single snapshot, Account management – Vivotek IP7132 User Manual

Page 70

Advertising
background image

- 68 -

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

mail

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

- 69 -

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.

- 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

mail

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>

 - User's Manual

VIVOTEK - A Leading Provider of Multimedia Communication Solutions

- 69 -

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.

Advertising