VIVOTEK
User's Manual - 179
gaptime
0~32768
The gaptime between two consecutive ptz commands for device.
(unit: ms)
return
<return page>
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.
8.10 ePTZ Camera Control (capability.eptz > 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
[&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
PARAMETER
VALUE
DESCRIPTION
channel
<0~(n-1)>
Channel of video source.
stream
<0~(m-1)>
Stream.
move
home
Move to home ROI.
up
Move up.
down
Move down.
left
Move left.
right
Move right.
auto pan Auto pan.
patrol Auto patrol.
stop Stop auto pan/patrol.
zoom wide Zoom larger view with current speed.
tele Zoom further with current speed.
zooming wide or tele Zoom without stopping for larger view or further view with zs
speed, used for joystick control.
zs 0 ~ 6 Set the speed of zooming, 0 means stop.
vx <integer> The direction of movement, used for joystick control.
vy <integer>
vs 0 ~ 7 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.
speedpan -5 ~ 5 Set the pan speed.
speedtilt -5 ~ 5 Set the tilt speed.
speedzoom -5 ~ 5 Set the zoom speed.
speedapp 1 ~ 5 Set the auto pan/patrol speed.
return <return page> 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.