User's Manual

Table Of Contents
VIVOTEK
User's Manual - 413
© 2020 VIVOTEK INC. All Right Reserved
264
8.24 Media on Demand (capability_localstorage.modnum > 0)
Media on demand allows users to select and receive/watch/listen to metadata/video/audio
contents on demand.
Note: This request requires Viewer access privileges.
Syntax:
rtsp://<servername>/mod.sdp?[&stime=<value>][&etime=<value>][&length =<value>][&loctime
=<value>][&file=<value>][&tsmode=<value>]
PARAMETER VALUE DEFAULT DESCRIPTION
stime
<YYYYMMDD_HHMMSS.MMM>
N/A
Start time.
etime <YYYYMMDD_HHMMSS.MMM>
N/A End time.
length
<positive integer>
N/A
The length of media of interest.
The unit is second.
loctime <boolean> 0 Specify if start/end time is local time
format.
1 for local time, 0 for UTC+0
file
<string>
N/A
The media file to be played.
tsmode <positive integer> N/A Timeshift mode, the unit is second.
Ex.
stime
etime
length
file
Description
V
V
X
X
Play recordings between stime and etime
rtsp://10.10.1.2/mod.sdp?stime=20110312_040400.000&etime=2011_0312_040
510.000
V
X
V
X
Play recordings for length seconds which start from
stime
rtsp://10.10.1.2/mod.sdp?stime=20110312_040400.000&length=120
X
V
V
X
Play recordings for length seconds which ends at
etime
rtsp://10.10.1.2/mod.sdp?etime=20110312_040400.000&length=120
X
X
X
V
Play file file
rtsp://10.10.1.2/mod.sdp?filename=/mnt/link0/
© 2020 VIVOTEK INC. All Right Reserved
265
8.25 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.