VIVOTEK
8.5Camera Control
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
[&auto=<value>] – Auto pan, patrol
[&vx=<value>&vy=<value>&vs=<value>] – Shift without stopping, used for joystick
[&x=<value>&y=<value>&videosize=<value>&resolution=<value>&stretch=<value>]
(Move the center of image to the coordination (x,y) based on resolution or videosize.)
[ [&speedpan=<value>][&speedtilt=<value>][&speedapp=<value>][&speedlink=<value>] ]
[&return=<return page>]
Example:
http://myserver/cgi-bin/viewer/camctrl.cgi?channel=0&camid=1&move=right
http://myserver/cgi-bin/viewer/camctrl.cgi?channel=0&camid=1&x=300&y=200&resolution=704x480&vi
deosize=704x480&strech=1
PARAMETER
VALUE
channel
<0~(n-1)>
camid
0,<positive integer>
move
home
up
down
left
right
speedpan
-5 ~ 5
speedtilt
-5 ~ 5
speedapp
-5 ~ 5
auto
pan
patrol
stop
vx
<integer , excluding 0> The slope of movement = vy/vx, used for joystick control.
164 - User's Manual
(capability.ptzenabled)
DESCRIPTION
Channel of video source.
Camera ID.
Move to camera to home position.
Move camera up.
Move camera down.
Move camera left.
Move camera right.
Set the pan speed.
Set the tilt speed.
Set the auto pan/patrol speed.
Auto pan.
Auto patrol.
Stop camera.
– Click on image
– Set speeds