VIVOTEK
* We support this function when the version number of the PTZ control module is equal or
greater than 5.0.0.20.
cam
getsetpreset
return
<return page>
Syntax:
(for querying API)
http://<servername>/cgi-bin/camctrl/camctrl.cgi?[<parameter>] [&<parameter>...]
Example:
http://myserver/cgi-bin/camctrl/camctrl.cgi?genpan
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>
332 - User's Manual
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.
Redirect to the page <return page> after the parameter is assigned.
The <return page> can be a full URL path or relative path according to
the current path. If you omit this parameter, it will redirect to an
empty page.
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"