* We support this function when the version number of the PTZ control module is equal or
greater than 5.0.0.20.
cam
getsetpreset
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
getversion
<string>
getaction
idle,
autopan,
tracking,
tour,
patrol,
getpan
0, <positive integer>
getpanangle
<integer>
gettilt
0, <positive integer>
gettiltangle
<integer>
getzoom
0, <positive integer>
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.
DESCRIPTION
Get the version of the PTZ control module.
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
Get the current pan position.
*Only available when bit0 of
"capability_camctrl_c<0~(n-1)>_buildinpt" is "1"
Get the current pan angle.
*Only available when bit0 of
"capability_camctrl_c<0~(n-1)>_buildinpt" is "1"
Get the current tilt position.
*Only available when bit1 of
"capability_camctrl_c<0~(n-1)>_buildinpt" is "1"
Get the current tilt angle.
*Only available when bit1 of
"capability_camctrl_c<0~(n-1)>_buildinpt" is "1"
Get the current zoom position.
VIVOTEK
User's Manual - 367