User Manual

VIVOTEK
User's Manual - 363
* We support this function when the version number of the PTZ control module is equal or
greater than 5.0.0.20.
cam getsetpreset Adds a named preset at current position, and return the preset
index.
* We support this function when the version number of the PTZ
control module is equal or greater than 5.0.0.20.
return <return page> Redirect to the page <return page> after the parameter is assigned.
The <return page> should be the relative path according to the root
of camera. If you omit this parameter, it will redirect to an empty
page.
* If the <return page> is invalid path, it will ignore this parameter.
Syntax: (for querying API)
http://<servername>/cgi-bin/camctrl/camctrl.cgi?[<parameter>] [&<parameter>...]
Example:
http://myserver/cgi-bin/camctrl/camctrl.cgi?getpan
Response:
HTTP/1.0 200 OK\r\n
Cache-control: no-cache\r\n
Pragma: no-cache\r\n
\r\n
pan=4117\r\n
PARAMETER VALUE DESCRIPTION
getversion <string> Get the version of the PTZ control module.
getaction idle,
autopan,
tracking,
tour,
patrol,
Getthecurrentstatusofthecamera.

* We support this parameter when the version number (getversion) is
equal or greater than 5.0.0.12
getpan 0, <positive integer> Get the current pan position.
*Only available when bit0 of
"capability_camctrl_c<0~(n-1)>_buildinpt" is "1"
getpanangle <integer> Get the current pan angle.
*Only available when bit0 of
"capability_camctrl_c<0~(n-1)>_buildinpt" is "1"
gettilt 0, <positive integer> Get the current tilt position.
*Only available when bit1 of