
STREAM User Manual
63
or
/api/record?type=loopforward
"clip" mode will record as you expect. "loop" mode will record clips of length "looptime"
seconds, and keep only clips during which "tag" is called (it may also keep clips the before and
after the tag, if the tag was at the beginning or a the end of the loop). "loopforward" will record
loops of "looptime" and then delete them, unless tag is called, in which case it will save the
previous loop and keep recording the current file until recording is stopped.
set filetype
/api/record/filetype=mp4
or
/api/record/filetype=mov
set looptime
/api/record?looptime=30
specify looptime in seconds (30 seconds in this example)
set loopforwardtime
/api/record?loopforwardtime=30
specify looptime in seconds (30 seconds in this example)
download a recorded video
/api/record/file/V0000001.mov
delete a recorded video
/api/record/file/V0000001.mov/delete
stream
Status
/api/stream
<stream>
<status>Stopped</status>
<resolution>1080p</resolution>
<quality>6000000</quality>
<url>rtsp://172.16.197.197:8554/stream</url>
<type>rtsp</type>
<bufsize>1350</bufsize>
<port>4951</port>
<host>172.16.197.198</host>