VIVOTEK
User's Manual - 367
* 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.
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,
Get
the
current
status
of
the
camera.
* 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
"capability_camctrl_c<0~(n-1)>_buildinpt" is "1"
gettiltangle
<integer>
Get the current tilt angle.
*Only available when bit1 of
"capability_camctrl_c<0~(n-1)>_buildinpt" is "1"
getzoom
0, <positive integer> Get the current zoom position.