VIVOTEK

http://<servername>/<network_http_s<0~m-1>_accessname>

For RTSP (MP4), the user needs to input the URL below into an RTSP compatible player.

rtsp://<servername>/<network_rtsp_s<0~m-1>_accessname>

“m” is the stream number.

For details on streaming protocol, please refer to the “control signaling” and “data format” documents.

8.22 Virtual input

Note: Change virtual input (manual trigger) status.

Method: GET

Syntax:

http://<servername>/cgi-bin/admin/setvi.cgi?vi0=<value>[&vi1=<value>][&vi2=<value>] [&return=<return page>]

 

PARAMETER

 

VALUE

DESCRIPTION

 

 

vi<num>

 

state[(duration)nstate]

Ex: vi0=1

 

 

 

 

 

Setting virtual input 0 to trigger state

 

 

 

 

Where "state" is 0, 1. “0”

 

 

 

 

 

Ex: vi0=0(200)1

 

 

 

 

means inactive or normal

Setting virtual input 0 to normal state, waiting 200

 

 

 

 

state while “1” means

milliseconds, setting it to trigger state.

 

 

 

 

active or triggered state.

Note that when the virtual input is waiting for next state,

 

 

 

 

Where "nstate" is next

it cannot accept new requests.

 

 

 

 

state after duration.

 

 

 

 

 

 

 

 

 

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.

 

400The request cannot be assigned, ex. incorrect parameters. Examples: setvi.cgi?vi0=0(10000)1(15000)0(20000)1

No multiple duration. setvi.cgi?vi3=0

VI index is out of range. setvi.cgi?vi=1

124 - User's Manual

Page 124
Image 124
Vivotek H.264 manual Virtual input