VIVOTEK
User's Manual - 177
Request 2 will not be accepted during the execution time(15 seconds).
8.23 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 the URL 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 DESCRIPTION
maxsft <positive
interger>
Request cached stream at most how many seconds ago.
tsmode normal,
adaptive
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 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 Check if the requested stream enables timeshift, feature and if minsft is
achievable.
If false, return “415 Unsupported Media Type”.
minsft <positive
interger>
How many seconds of cached stream client can accept at least.
(Used by forcechk)
Return Code Description
400 Bad Request Request is rejected because some parameter values are illegal.
415 Unsupported Media Type Returned, if forcechk appears, when minsft is not achievable or the
timeshift feature of the target stream is not enabled.
8. 24 Open Anystream (capability.nanystream > 0)
Note: This request requires Viewer access privileges.
Syntax:
For HTTP push server (MJPEG):
http://<servername>/videoany.mjpg?codectype=mjpeg[&resolution=<value>&mjpeg_quant=<value>&mjpeg
_qvalue=<value>&mjpeg_maxframe=<value>]
For RTSP (MPEG4), the user needs to input the URL below into an RTSP compatible player.
rtsp://<servername>/liveany.sdp?codectype=mpeg4[&resolution=<value>&mpeg4_intraperiod=<value>&mpe
g4_ratecontrolmode=<value>&mpeg4_quant=<value>&mpeg4_qvalue=<value>&mpeg4_bitrate=<value>&m
peg4_maxframe=<value>]
For RTSP (H264), the user needs to input the URL below into an RTSP compatible player.
rtsp://<servername>/liveany.sdp?codectype=h264[&resolution=<value>&h264_intraperiod=<value>&
h264_ratecontrolmode=<value>& h264_quant=<value>& h264_qvalue=<value>& h264_bitrate=<value>&
h264_maxframe=<value>]
<product dependent>
PARAMETER VALUE DESCRIPTION
codectype mjpeg, mpeg4, h264
<product dependent>
Set codec type for Anystream.
solution capability_videoin_resolution Video resolution in pixels.
mjpeg_quant 0, 1~5
99, 1~5
<product dependent>
Quality of JPEG video.
0,99 is the customized manual input setting.
1 = worst quality, 5 = best quality.
<product dependent>
mjpeg_qvalue 10~200
2~97
<product dependent>
Manual video quality level input.
(This must be present if mjpeg_quant is equal to 0, 99)
<product dependent>
mjpeg_maxframe 1~25,
26~30 (only for NTSC or
60Hz CMOS)
Set maximum frame rate in fps (for JPEG).