VIVOTEK
User's Manual - 417
© 2020 VIVOTEK INC. All Right Reserved
276
PARAMETER
VALUE
DESCRIPTION
down
Move camera down.
left
Move camera left.
right
Move camera right.
speedpan
-5 ~ 5
Set the pan speed.
speedtilt
-5 ~ 5
Set the tilt speed.
speedzoom
-5 ~ 5
Set the zoom speed.
speedfocus
-5 ~ 5
Set the focus speed.
speedapp
-5 ~ 5
Set the auto pan/patrol speed.
auto
pan
Auto pan.
patrol
Auto patrol.
stop
Stop camera.
zoom
wide
Zoom larger view with current speed.
tele
Zoom further with current speed.
stop
Stop zoom.
zooming
wide or tele
Zoom without stopping for larger view or further view with
zs speed, used for joystick control.
zs
0 ~ 8 <SD8362>
Set the speed of zooming, “0” means stop.
vx
<integer , excluding
0>
The slope of movement = vy/vx, used for joystick control.
vy <integer>
vs
0 ~ 127
Set the speed of movement, “0” means stop.
x
<integer>
x-coordinate clicked by user.
It will be the x-coordinate of center after movement.
y
<integer>
y-coordinate clicked by user.
It will be the y-coordinate of center after movement.
videosize
<window size>
The size of plug-in (ActiveX) window in web page
resolution
<window size>
The resolution of streaming.
stretch
<boolean>
0 indicates that it uses
resolution
(streaming size) as the
range of the coordinate system.
1 indicates that it uses
videosize
(plug-in size) as the range
of the coordinate system.
© 2020 VIVOTEK INC. All Right Reserved
277
PARAMETER
VALUE
DESCRIPTION
focus
auto
Auto focus.
far
Focus on further distance.
near
Focus on closer distance.
focusseting
sync
Applies the selected focus mode in
camctrl_c<0~(n-1)>_focusmode to this preset.
fixcurrent
Applies the current focus position to this preset.
* 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 query 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"