CHANNEL_SWITCH

Description

Force the decoder to move to the specific channel.

Device could play the video/audio stream from encoders with a sequence of their channel list. It will start from channel 1 then move to channel 2 (if it is valid) after the channel 1's dwell time. When the last valid channel's dwell time is expired, the channel 1 will be connected again.

The URL could force the decoder to move to a specific channel immediately. After that, the decoder will follow its rule to play channels. It the channel is not valid in this URL, the decoder will ignore this URL but return the error message.

Input Argument

n
where
n  : the channel ID in the decoder, 1~16

Attribute

Return of Message

OK: CHANNEL_SWITCH='1'
or
ERROR: invalid parameters

Applicability

Status

Valid

See Also

CHANNEL_CONFIG, CHANNEL_VARIABLE_FPS, CHANNEL_TIME, CHANNEL_INFO

Example

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

http://ip:port/cgi-bin/decoder?USER=Admin&PWD=123456&CHANNEL_SWITCH (move to channel 1)
or
http://ip:port/cgi-bin/cmd/decoder?CHANNEL_SWITCH (move to channel 1)

Back to

HOME, URL CGI