User Manual

VIVOTEK
User's Manual - 155
means active or
triggered state.
Where "nstate" is next
state after duration.
milliseconds, setting it to trigger state.
Note that when the virtual input is waiting for next
state, it cannot accept new requests.
return
<return page>
Redirect to the page
<return page>
after the
request is completely assigned. The
<return
page>
can be a full URL path or relative path
according the current path. If you omit this
parameter, it will redirect to an empty page.
Return Code
Description
200
The request is successfully executed.
400
The request cannot be assigned, ex. incorrect parameters.
Examples:
1. setvi.cgi?vi0=0(10000)1(15000)0(20000)1
No multiple duration.
2. setvi.cgi?vi3=0
VI index is out of range.
3. setvi.cgi?vi=1
No VI index is specified.
503
The resource is unavailable, ex. Virtual input is waiting for next state.
Examples:
1. setvi.cgi?vi0=0(15000)1
2. setvi.cgi?vi0=1
Request 2 will not be accepted during the execution time(15 seconds).
Open Timeshift Stream
(capability.timeshift > 0, timeshift_enable=1,
meshift_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=<valu
e>&reftime=<value>&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=<valu
e>&reftime=<value>&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
integer>
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 , VI
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 times
hift, feature and if
minsft is achievable.
If false, return ‚415 Unsupported Media Type‛.
minsft <positive
integer>
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.
<End of document>