CHxx_TIME

CHANNEL_SWITCH

Description

> Force the decoder to move to the specific channel.

> In WPL and PlatfromT decoder devices, they 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

- For Write Operation

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

- Note:
  1. If the n is missing, the target channel of this command is channel 1.

Attribute

- Write Only
- On-Fly

Return of Message

- Write Operation

> OK: CHANNEL_SWITCH='1'
> or
> ERROR: CHANNEL_SWITCH='1'

Applicability

- WPL Decoder Devices
- PlatformT Decoder Devices

Status

> Valid

See Also

> CHANNEL_CONFIG, CHANNEL_VARIABLE_FPS, CHANNEL_TIME, CHANNEL_INFO

Example

- Write Operation

> 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