CHxx_VIDEO_CTRL

CHxx_PORT_STREAM, CHxx_PORT_CONTROL, CHxx_PORT_MULTICAST, CHxx_PORT_RTP, CHxx_PORT_HTTP

Description

> Set or Get the networking port number of encoder for the decoder.

> In CHxx_PORT_STREAM URL, it sets the encoder's TCP port number for a video/audio stream to the decoder.

> In CHxx_PORT_CONTROL URL, it sets the encoder's TCP port number for a control session to the decoder.

> In CHxx_PORT_MUTLICAST URL, it sets the encoder's UDP port number a multicasting video/audio stream to the decoder.

> In CHxx_PORT_RTP URL, it sets the encoder's TCP port number for the RTSP session to the decoder.

> In CHxx_PORT_HTTP URL, it sets the encoder's HTTP port number to the decoder.

Input Argument

> 0~65536 (port number)

Attribute

- Write Only in WPL Decoders
- Readable and Writable in EPL Decoders
- Not On-Fly

Return of Message

> In WPL Decoder Devices

> - None

> In EPL Decoder Devices

> - Read Operation

> > CH01_PORT_STREAM='6002'
> > CH01_PORT_CONTROL='6001'
> > CH01_PORT_MUTLICAST='5000'
> > CH01_PORT_RTP='7070'
> > CH01_PORT_HTTP='80'

> - Write Operation

> > OK: CH01_PORT_STREAM='6002'
> > OK: CH01_PORT_CONTROL='6001'
> > OK: CH01_PORT_MUTLICAST='5000'
> > OK: CH01_PORT_RTP='7070'
> > OK: CH01_PORT_HTTP='80'
> > or
> > ERROR: CH01_PORT_STREAM='6002'
> > ERROR: CH01_PORT_CONTROL='6001'
> > ERROR: CH01_PORT_MUTLICAST='5000'
> > ERROR: CH01_PORT_RTP='7070'
> > ERROR: CH01_PORT_HTTP='80'

Applicability

- WPL Decoder Devices
- EPL Decoder Devices

Status

> Valid

See Also

> CHxx_VIDEO_CONNECT, CHxx_VIDEO_VARFPS, CHxx_VIDEO_STREAM, CHxx_VIDEO_AUDIO, CHxx_VIDEO_CONTROL, CHxx_VIDEO_USERNAME, CHxx_VIDEO_PASSWORD, CHxx_VIDEO_TCP_IP, CHxx_VIDEO_MULTICAST_IP, CHxx_TIME, CHxx_SOURCE_TYPE, CHxx_QUAD_CHANNEL, CHxx_CHANNEL, SWITCH, VIDEO_VARFPS

Example

- Read Operation (Only in EPL Decoder Devices)

> http://ip:port/cgi-bin/url.cgi?USER=Admin&PWD=123456&CH01_PORT_STREAM
> http://ip:port/cgi-bin/url.cgi?USER=Admin&PWD=123456&CH01_PORT_CONTROL
> http://ip:port/cgi-bin/url.cgi?USER=Admin&PWD=123456&CH01_PORT_MUTLICAST
> http://ip:port/cgi-bin/url.cgi?USER=Admin&PWD=123456&CH01_PORT_RTP
> http://ip:port/cgi-bin/url.cgi?USER=Admin&PWD=123456&CH01_PORT_HTTP

- Write Operation

> In WPL Decoder Devices

> > http://ip:port/cgi-bin/url.cgi?USER=Admin&PWD=123456&CHxx_PORT_STREAM=6002
> > http://ip:port/cgi-bin/url.cgi?USER=Admin&PWD=123456&CHxx_PORT_CONTROL=6001
> > http://ip:port/cgi-bin/url.cgi?USER=Admin&PWD=123456&CHxx_PORT_MUTLICAST=5000
> > http://ip:port/cgi-bin/url.cgi?USER=Admin&PWD=123456&CHxx_PORT_RTP=7070
> > http://ip:port/cgi-bin/url.cgi?USER=Admin&PWD=123456&CHxx_PORT_HTTP=80
> > where xx is from 01~16

> In EPL Decoder Devices

> > http://ip:port/cgi-bin/url.cgi?USER=Admin&PWD=123456&CH01_PORT_STREAM=6002
> > http://ip:port/cgi-bin/url.cgi?USER=Admin&PWD=123456&CH01_PORT_CONTROL=6001
> > http://ip:port/cgi-bin/url.cgi?USER=Admin&PWD=123456&CH01_PORT_MUTLICAST=5000
> > http://ip:port/cgi-bin/url.cgi?USER=Admin&PWD=123456&CH01_PORT_RTP=7070
> > http://ip:port/cgi-bin/url.cgi?USER=Admin&PWD=123456&CH01_PORT_HTTP=80

Back to

> HOME, URL CGI