User manual
VIVOTEK
User's Manual - 299  
8.8 ePTZ Camera Control (capability.eptz > 0 and 
capability_fisheye = 0)
Note: This request requires camctrl privileges.   
Method: GET/POST 
Syntax: 
http://<servername>/cgi-bin/camctrl/eCamCtrl.cgi?channel=<value>&stream=<value> 
[&move=<value>] – Move home, up, down, left, right 
[&auto=<value>] – Auto pan, patrol 
[&zoom=<value>] –Zoom in, out 
[&zooming=<value>&zs=<value>] –Zoom without stopping, used for joystick 
[&x=<value>&y=<value>&w=<value>&h=<value>&resolution=<value>] - Zoom in, out on a specific area 
[&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>] ] – Set speeds 
[&return=<return page>] 
Example:
http://myserver/cgi-bin/camctrl/eCamCtrl.cgi?channel=0&stream=0&move=right
http://myserver/cgi-bin/camctrl/eCamCtrl.cgi?channel=0&stream=1&vx=2&vy=2&vz=2
http://myserver/cgi-bin/camctrl/eCamCtrl.cgi?channel=0&stream=1&x=100&y=100&
videosize=640x480&resolution=640x480&stretch=0
In zoom operation, there are two ways to control it, scale zoom and area zoom. 
1. [Scale zoom]: contains two control method, relative movement and continuous movement 
a. relative movement - 
If you trigger a relative movement, it will only zoom certain ratio and stop by itself. 
http://IPAddr/cgi-bin/camctrl/eCamCtrl.cgi?stream=0&zoom=tele
http://IPAddr/cgi-bin/camctrl/eCamCtrl.cgi?stream=0&zoom=wide 
The zoom ratio to move by relative movement is according to the setting of speedzoom [-5~5]. 
http://IPAddr/cgi-bin/camctrl/eCamCtrl.cgi?stream=0&speedzoom=5
b. continuous movement - 
If you trigger a continuous movement, you have to handle the stop time by yourself.   
A continuous movement is convenient to integrate a joystick control. 
http://IPAddr/cgi-bin/camctrl/eCamCtrl.cgi?stream=0&zooming=tele&zs=1










