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

¡@

Note 1 : For EPL Decoder Devices, the Channel ID is fixed to 1.
¡@ ¡@
Note 2 : For the Encoder Channel ID, it depends on the Encoder Type in the input argument b. The mapping of the range of Encoder Channel ID and the Encoder Type is listed below.
¡@
 Range of Encoder Channel ID Encoder Type
 Fixed to 1  1CH Encoder
 0~4 where 0: QUAD Channel, 1: Channel 1, 2: Channel 2, 3: Channel 3 and 4: Channel 4  QUAD Encoder
 1~16 where 1: Channel 1, 2: Channel 2 , ..., 16: Channel 16  Multi-Channel Encoder
¡@ ¡@
Note 3 : For the Channel Capability setting, it is in hexadecimal value. The bit 0, 1 and 2 set the Connection Type that the decoder connects to the encoder. The mapping of bit 0, 1 and 2 in this input argument and Connection Type is listed below.
¡@
Bit in the Value e Connection Type Description
0  Get Video Stream 1: Connect the Encoder for Video Stream, 0: Not connect the Encoder. If it is 0, the decoder will skip this channel (channel invalid).
1  Get Control Token Decoder establishes the control session to the Encoder for control signaling.
2  Get AudioOut Token Decoder could stream the Audio to the encoder

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=2

http://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

HOME, DECODER CGI