User Manual

VIVOTEK
User's Manual - 383
© 2019 VIVOTEK INC. All Right Reserved
253
8.27 3D Privacy Mask
(Capability_image_c<0~(n-1)>_privacymask_wintype =
3Drectangle)
n denotes the value of "capability_nvideoin"
Note: This request requires admin user privilege
Method: GET/POST
Syntax:
http://<servername>/cgi-bin/admin/setpm3d.cgi?method=<value>&maskname=<value>&[maskhei
ght=<value>&maskwidth=<value>&videosize=<value>&return=<return page>]
PARAMETER VALUE DESCRIPTION
method add Add a 3D privacy mask at current location
delete Delete a 3D privacy mask
edit Edit a 3D privacy mask
maskname string[40] 3D privacy mask name
maskheight integer 3D privacy mask height
maskwidth integer 3D privacy mask width
videosize <window size> Optimal.
The size of plug-in (ActiveX) window in web page is the
size of the privacy window size. This field is not
necessary, it will use the default value if not specified.
320x180 for 16:9 resolution and 320x240 for 4:3
resolution.
return <return page> Redirect to the page <return page> after the parameter
is assigned. The <return page> should be the relative
path according to the root of camera. If you omit this
parameter, it will redirect to an empty page.
* If the <return page> is invalid path, it will ignore this
parameter.
© 2019 VIVOTEK INC. All Right Reserved
254
8.28 Camera Control
(capability_camctrl_c<0~(n-1)>_zoommodule = 1)
Note: This request requires Viewer privileges.
Method: GET/POST
Syntax: (for control API)
http://<servername>/cgi-bin/camctrl/camctrl.cgi?[channel=<value>][&camid=<value>]
[&move=<value>] Move home, up, down, left, right
[&focus=<value>] Focus operation
[&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>][&speedl
ink=<value>] ] Set speeds
[&return=<return page>]
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: (set the ptz preset with focus mode)
* We support this function when the version number of the PTZ control module is equal or greater
than 5.0.0.20.
http://myserver/cgi-bin/camctrl/camctrl.cgi?name=xxx&focussetting=sync&cam=getsetpreset
PARAMETER VALUE DESCRIPTION
channel <0~(n-1)> Channel of video source.
camid 0,<positive integer> Camera ID.
move home Move to camera to home position.
up Move camera up.