CHANNEL_CONFIG
Description
Get or Set the configuration of the channel in decoder.
Here is the format of the input argument of this URL.
CHANNEL_CONFIG=a,b,c,d,e,f,g,h,i,j,k,l,m,n,o
Input Argument Range/Format Description a 1~16 (refer to Note 1) Channel ID in the Decoder b 0:1CH Encoder, 1:Qaud Encoder, 2:Multi-Channel Encoder Encoder Type c 0~16 (refer to Note 2) Channel ID in the Encoder d 0:TCP, 1:Multicast, 2:RTP Streaming Method of Encoder e 0x00~0x07 (refer to Note 3) Channel Capability f Character string (< 32 bytes) Account Name to logon the Encoder g Character string (< 64 bytes) Account Password to logon the Encoder h Unicast IPv4 addresses Encoder's IP Addresses i Multicast IPv4 addresses Encoder's Multicast IP Addresses j 1~65535 Encoder's Video Streaming TCP Port Number k 1~65535 Encoder's Control TCP Port Number l 1~65535 Encoder's RTSP TCP Port Number m 1~65535 Encoder's HTTP Port Number n 1~65535 Encoder's Multicast UDP Port Number o 0~65535 in second Time duration the decoder stay this channel ¡@
Input Argument
n
where
n : the channel ID in the decoder, 1~16.
a,b,c,d,e,f,g,h,i,j,k,l,m,n,o
where refer to above description.
Attribute
Return of Message
CHANNLE_CONFIG='1,0,1,0,0x07,aaaa,111111,192.168.0.100,228,5,6,1,6002,6001,7070,5000,60'
OK: CHANNEL_CONFIG='1,0,1,0,0x07,aaaa,111111,192.168.0.100,228,5,6,1,6002,6001,7070,5000,60'
or
ERROR: CHANNEL_CONFIG='1,0,1,0,0x07,aaaa,111111,192.168.0.100,228,5,6,1,6002,6001,7070,5000,60'
Applicability
Status
Valid
See Also
CHANNEL_VARIABLE_FPS, CHANNEL_TIME, CHANNEL_INFO, CHANNEL_SWITCH
Example
http://ip:port/cgi-bin/decoder?USER=Admin&PWD=123456&CHANNEL_CONFIG=2
or
http://ip:port/cgi-bin/cmd/decoder?CHANNEL_CONFIG=2http://ip:port/cgi-bin/decoder?USER=Admin&PWD=123456&CHANNEL_CONFIG (get channel 1 configuration)
or
http://ip:port/cgi-bin/cmd/decoder?CHANNEL_CONFIG (get channel 1 configuration)
http://ip:port/cgi-bin/decoder?USER=Admin&PWD=123456&CHANNEL_CONFIG=1,0,1,0,0x07,aaaa,111111,192.168.0.100,228,5,6,1,6002,6001,7070,5000,60
or
http://ip:port/cgi-bin/cmd/decoder?CHANNEL_CONFIG=1,0,1,0,0x07,aaaa,111111,192.168.0.100,228,5,6,1,6002,6001,7070,5000,60
Back to