SWITCH_TCP

Description

> Move the decoder to a encoder (in the TCP 2.0 mode) directly. The input argument of this URL has all necessary configurations of the encoder to connect to. And these configurations will be saved into the decoder's flash.

> Here is the format of the input argument of this URL.

> SWITCH_TCP=ENCODER_IP,USER_NAME,USER_PWD,VIDEO_AUDIO,VIDEO_CONTROL,PORT_STREAM,PORT_CONTROL,PORT_HTTP

> Input Argument | Description
> ENCODER_IP | The IP address of the Encoder
> USER_NAME | The Account Name to logon the Encoder
> USER_PWD | The Account Password to logon the Encoder
> VIDEO_AUDIO | 1 or 0 to control if decoder needs to get the Audio Token to stream AudioOut to an encoder or not
> VIDEO_CONTROL | 1 or 0 to control if decoder needs to establish the control session to the encoder
> PORT_STREAM | TCP port number for video stream
> PORT_CONTROL | TCP port number for control session
> PORT_HTTP | HTTP port of the encoder

Input Argument

> See Above

Attribute

- Write Only
- On-Fly

Return of Message

> OK: SWITCH_TCP='192.168.0.100,aaaa,111111,1,1,6002,6001,80'

Applicability

- EPL Decoder Devices

Status

> Valid

See Also

> SWITCH_MUL, SWITCH_RTP

Example

- Write Operation

> http://ip:port/cgi-bin/url.cgi?USER=Admin&PWD=123456&SWITCH_TCP='192.168.0.100,aaaa,1111,1,1,6002,6001,80'

Back to

> HOME, URL CGI