VIVOTEK
User's Manual - 177
8.9 Camera Control (capability.ptzenabled)
Note: This request requires Viewer privileges.
Method: GET/POST
Syntax:
http://<servername>/cgi-bin/viewer/camctrl.cgi?[channel=<value>][&camid=<value>]
[&move=<value>] – Move home, up, down, left, right
[&focus=<value>] – Focus operation
[&iris=<value>] – Iris operation
[&auto=<value>] – Auto pan, patrol
[&zoom=<value>] – Zoom in, out
[&zooming=<value>&zs=<value>] – Zoom without stopping, used for joystick
[&vx=<value>&vy=<value>&vs=<value>] – Shift without stopping, used for joystick
[&x=<value>&y=<value>&videosize=<value>&resolution=<value>&stretch=<value>] – Click on image
(Move the center of image to the coordination (x,y) based on resolution or videosize.)
[ [&speedpan=<value>][&speedtilt=<value>][&speedzoom=<value>][&speedapp=<value>][&speedlink
=<value>] ] – Set speeds
[&return=<return page>]
http://myserver/cgi-bin/viewer/camctrl.cgi?channel=0&camid=1&move=right
http://myserver/cgi-bin/viewer/camctrl.cgi?channel=0&camid=1&zoom=tele
http://myserver/cgi-bin/viewer/camctrl.cgi?channel=0&camid=1&x=300&y=200&resolution=704x480&vi
deosize=704x480&strech=1
Move to camera to home position.
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 ~ 6
0 ~ 15 <SD81X1>
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 ~ 7
0 ~ 15 <SD81X1>
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
of the coordinate system.
1 indicates that it uses videosize (plug-in size) as the
the coordinate system.
focus auto Auto focus.
far Focus on further distance.
near Focus on closer distance.
iris auto Let the Network Camera control iris size.
open Manually control the iris for bigger size.
close Manually control the iris for smaller size.
speedlink 0 ~ 4 Issue speed link command.