332
Open the network streamings
Note:
This request requires viewer access privilege
Syntax:
For http push server (mjpeg):
http://<
servername
>/<network_http_s<0~m-1>_accessname>
For rtsp (mp4), user needs to input the url below for a rtsp compatible player.
rtsp://<
servername
>/<network_rtsp_s<0~m-1>_accessname>
“m” is the stream number.
For detailed streaming protocol, please refer to “control signaling” and “data format” documents.
Senddata (capability.nuart>0)
Note:
This request requires privilege of viewer
Method: GET/POST
Syntax:
http://<
servername
>/cgi-bin/viewer/senddata.cgi? [com=<value>][&data=<value>][&flush=<value>]
[&wait=<value>] [&read=<value>]
PARAMETER
VALUE
DESCRIPTION
com
1 ~ <max. com port
number>
The target com/rs485 port number
data
<hex decimal
data>[,<hex decimal
data>]
The <hex decimal data> is s series of digit within 0 ~ 9, A ~ F. Each
comma separates the commands by 200 milliseconds.
flush
yes,no
yes: receive data buffer of COM port will be cleared before read.
no: do not clear the receive data buffer.
wait
1 ~ 65535
wait time in milliseconds before read data
read
1 ~ 128
the data length in bytes to read. The read data will be in return