User manual
VIVOTEK
312 - User's Manual
8.20 Open Timeshift Stream (capability.timeshift > 0, 
timeshift_enable=1, timeshift_c<n>_s<m>_allow=1)
Note: This request requires Viewer access privileges. 
Syntax: 
For HTTP push server (MJPEG): 
http://<servername>/<network_http_s<m>_accessname>?maxsft=<value>[&tsmode=<value>&reftime=<v
alue>&forcechk&minsft=<value>] 
For RTSP (MP4 and H264), the user needs to input theURL below into an RTSP compatible player. 
rtsp://<servername>/<network_rtsp_s<m>_accessname>?maxsft=<value>[&tsmode=<value>&reftime=<va
lue>&forcechk&minsft=<value>] 
“n” is the channel index. 
“m” is the timeshift stream index. 
For details on timeshift stream, please refer to the “TimeshiftCaching” documents. 
PARAMETER  VALUE  DEFAULT  DESCRIPTION 
maxsft <positive 
integer> 
0  Request cached stream at most how many seconds ago. 
tsmode normal, 
adaptive 
normal  Streaming mode: 
normal => Full FPS all the time. 
adaptive => Default send only I-frame for MP4 and H.264, and
send 1 FPS for MJPEG. If DI or motion window are triggered, the
streaming is changed to send full FPS for 10 seconds. 
(*Note: this parameter also works on non-timeshift streams.)
reftime  mm:ss  The time 
camera receives
the request. 
Reference time for maxsft and minsft. 
(This provides more precise time control to eliminate the 
inaccuracy due to network latency.) 
Ex: Request the streaming from 12:20 
rtsp://10.0.0.1/live.sdp?maxsft=10&reftime=12:30 
forcechk  N/A  N/A  Check if the requested stream enables timeshift, feature and   
if minsft is achievable. 
If false, return “415 Unsupported Media Type”. 
minsft <positive 
integer> 
0  How many seconds of cached stream client can accept at least.
(Used by forcechk) 
Return Code  Description 










