User manual
VIVOTEK
320 - User's Manual
8.26 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_040510.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/










