VIVOTEK
442 - User's Manual
© 2022 VIVOTEK INC. All Right Reserved
293
8.26 CameraControl
(capability_camctrl_c<0~(n‐1)>_zoommodule=1)
Note:Thisre questrequiresViewerprivileges.
Method:GET/POST
Synta x:(forcontrolAPI)
http://<servername>/cgi‐bin/camctrl/camctrl.cgi?[channel=<value>][&camid=<value>]
[&move=<value>]–Movehome,up,down,left,right
[&focus=<value>]–Focusoperation
[&zoom=<value>]–Zoomin,out
[&zooming=<value>&zs=<value>]–Zoomwithoutstopping,usedforjoystick
[&vx=<value>&vy=<value>&vs=<value>]–Shiftwithoutstopping,usedforjoystick
[&x=<value>&y=<value>&videosize=<value>&re solution=<value>&stretch=<value>]–Clickon
image
(Movethecenterofimagetothecoordination(x,y)basedonresolutionorvideosize.)
[[&speedpan=<value>][&speedtilt=<value>][&speedzoom=<value>][&speedapp=<value>][&speedl
ink=<value>]]–Setspeeds
[&return=<returnpage>]
Example:
http://myserver/cgi‐bin/camctrl/camctrl.cgi?channel=0&camid=1&move=right
http://myserver/cgi‐bin/camctrl/camctrl.cgi?channel=0&camid=1&zoom=tele
http://myserver/cgi‐bin/camctrl/camctrl.cgi?channel=0&camid=1&x=300&y=200&resolution=704x
480&videosize=704x480&strech=1
Example:(settheptzpresetwithfocusmode)
*WesupportthisfunctionwhentheversionnumberofthePTZcontrolmoduleisequalorgreater
than5.0.0.20.
http://myserver/cgi‐bin/camctrl/camctrl.cgi?name=xxx&focussetting=sync&cam=getsetpreset
PARAMETER VALUE DESCRIPTION
channel <0~(n‐1)> Channelofvideosource.
camid 0,<positiveinteger> CameraID.
move home Movetocameratohomeposition.
up Movecameraup.