VIVOTEK

\r\n

<multipart encoded form data>

For setting backup file:

http://<servername>/cgi-bin/admin/upload_backup.cgi

Post data:

filename =<file name>\r\n \r\n

<multipart encoded form data>

Server will accept the file named <file name> to upload this one to camera.

8.21 Media on demand

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

 

 

 

 

 

 

 

 

 

 

 

User's Manual - 217

Page 217
Image 217
Vivotek SF8172 user manual Media on demand