CHANNEL_INFO

Description

Get a specific channel configuration or all valid channels configurations in the decoder

Here is the format of the return message of this URL which is the same definition in the CHANNEL_CONFIG.

a,b,c,d,e,f,g,h,i,j,k,l,m,n,o

Items in Return Message 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.

None

Attribute

Return of Message

CHANNEL_CONFIG='1,0,1,0,0x07,aaaa,111111,192.168.0.100,228,5,6,1,6002,6001,7070,5000,60'
CHANNEL_CONFIG='2,0,1,0,0x07,aaaa,111111,192.168.0.106,228,5,6,6,6002,6001,7070,5000,600'
CHANNEL_CONFIG='3,0,1,0,0x07,aaaa,111111,192.168.0.107,228,5,6,7,6002,6001,7070,5000,30'
...
...

CHANNEL_CONFIG='15,0,1,0,0x07,aaaa,111111,192.168.0.107,228,5,6,7,6002,6001,7070,5000,30'
CHANNEL_CONFIG='16,0,1,0,0x07,aaaa,111111,192.168.0.107,228,5,6,7,6002,6001,7070,5000,30'

Applicability

Status

Valid

See Also

CHANNEL_CONFIG, CHANNEL_VARIABLE_FPS, CHANNEL_TIME, CHANNEL_SWITCH

Example

http://ip:port/cgi-bin/decoder?USER=Admin&PWD=123456&CHANNEL_INFO
or
http://ip:port/cgi-bin/cmd/decoder?CHANNEL_INFO

http://ip:port/cgi-bin/decoder?USER=Admin&PWD=123456&CHANNEL_INFO (get all valid channels configurations)
or
http://ip:port/cgi-bin/cmd/decoder?CHANNEL_INFO (get all valid channels configurations)

Back to

HOME, DECODER CGI