VIVOTEK

3. General CGI URL Syntax and Parameters

CGI parameters are written in lower-case and as one word without any underscores or other separators. When the CGI request includes internal camera parameters, these parameters must be written exactly as they are named in the camera or video server. The CGIs are organized in functionally-related directories under the cgi-bin directory. The file extension .cgi is required.

Syntax:

http://<servername>/cgi-bin/<subdir>[/<subdir>...]/<cgi>.<ext> [?<parameter>=<value>[&<parameter>=<value>...]]

Example: Set digital output #1 to active

http://mywebserver/cgi-bin/dido/setdo.cgi?do1=1

4. Security Level

 

SECURITY LEVEL

 

 

SUB-DIRECTORY

 

 

DESCRIPTION

 

 

0

 

 

 

anonymous

 

 

Unprotected.

 

 

 

 

 

 

 

 

 

 

1

[view]

 

 

anonymous, viewer,

 

 

1. Can view, listen, talk to camera.

 

 

 

 

 

dido, camctrl

 

 

2. Can control DI/DO, PTZ of the camera.

 

 

 

 

 

 

 

 

 

 

4

[operator]

 

 

anonymous, viewer,

 

 

Operator access rights can modify most of the camera’s

 

 

 

 

 

dido, camctrl, operator

 

 

parameters except some privileges and network options.

 

 

 

 

 

 

 

 

 

 

6

[admin]

 

 

anonymous, viewer,

 

 

Administrator access rights can fully control the camera’s

 

 

 

 

 

dido, camctrl, operator,

 

 

operations.

 

 

 

 

 

admin

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7

 

 

 

N/A

 

 

Internal parameters. Unable to be changed by any external

 

 

 

 

 

 

 

 

interfaces.

 

 

 

 

 

 

 

 

 

 

5. Get Server Parameter Values

Note: The access right depends on the URL directory.

Method: GET/POST

Syntax:

http://<servername>/cgi-bin/anonymous/getparam.cgi?[<parameter>] [&<parameter>…]

http://<servername>/cgi-bin/viewer/getparam.cgi?[<parameter>]

116 - User's Manual

Page 116
Image 116
Vivotek FD8135H user manual General CGI URL Syntax and Parameters, Security Level SUB-DIRECTORY Description