PORT_REGISTER, PORT_CONTROL, PORT_VIDEO, PORT_MULTICAST

Description

Get or Set device's streaming and control ports which are used in TCP 1.0 or TCP 2.0 streaming protocols. When write, the port number will be checked if it was used from other applications.

PORT_REGISTER

In device register port (PORT_REGISTER), it is used in the TCP 1.0 streaming protocol which is out of fashion. All of devices except the WPL devices do not support this protocol now. This URL will be the read-only command and return the 6000 for backward compatible consideration in all devices which do not support the ATCi TCP 1.0 protocol. And, the port 6000 is not used even it reply its register port is 6000.

PORT_CONTROL

In device control port (PORT_CONTROL), it is used in a TCP session to carry the control message between two devices. In the TCP 1.0 and 2.0 protocol, because the control port is used, all of devices have this port.

If the CHANNEL=n was not set with this URL to the Multi-Channel device, this will set the port base of all channels. The control port of the CHANNEL n will be the control port base + n -1. For example, the PORT_CTRL=6010 will set the base of control port to 6010. Then, the control port of CHANNEL 1 is 6010, the control port of CHANNEL 2 is 6011.

PORT_VIDEO

In device video port (PORT_VIDEO), it is used in a TCP session to carry the Video and AudioIn streams from an encoder device to a decoder. In the TCP 1.0 and 2.0 protocol, because the video port is used, all of devices have this port.

If the CHANNEL=n was not set with this URL to the Multi-Channel device, this will set the port base of all channels. The video port of the CHANNEL n will be the video port base + n -1. For example, the PORT_VIDEO=6050 will set the base of control port to 6050. Then, the control port of CHANNEL 1 is 6050, the control port of CHANNEL 2 is 6051.

PORT_MULTICAST

In device multicast port (PORT_MULTICAST), it is used in an UDP session in multicast to carry the Video and AudioIn streams from an encoder to decoders. In the TCP 1.0 and 2.0 protocol, because the multicast port is used, all of devices have this port.

If the CHANNEL=n was not set with this URL to the Multi-Channel device, this will set the port base of all channels. The multicast port of all CHANNELs will be this multicast port. For example, the PORT_MULTICAST=5000 will set the multicast port of all CHANNEL to 5000.

Input Argument

URL Commnd Name Description
PORT_REGISTER TCP port number, 1~65535
PORT_CONTROL TCP port number, 1~65535
PORT_VIDEO TCP port number, 1~65535
PORT_MULTICAST UDP port number, 1~65535

Attribute

Return of Message

PORT_REGISTER='6000'
PORT_CONTROL='6001'
PORT_VIDEO='6002'
PORT_MULTICAST='5000'
OK: PORT_REGISTER='6000'
OK: PORT_CONTROL='6001'
OK: PORT_VIDEO='6002'
OK: PORT_MULTICAST='5000'
or
ERROR: PORT_REGISTER='6000'
ERROR: PORT_CONTROL='6001'
ERROR: PORT_VIDEO='6002'
ERROR: PORT_MULTICAST='5000'

Applicability

Status

Valid

See Also

PORT, PORT_HTTP, PORT_SEARCH_1, PORT_SEARCH_2, PORT_SEARCH, V2_PORT_RTSP, V2_PORT_RTP_MULTI_VIDEO, V2_PORT_RTP_MULTI_AUDIO

Example

http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&PORT_REGISTER
http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&PORT_CONTROL
http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&PORT_VIDEO
http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&PORT_MULTICAST
or
http://ip:port/cgi-bin/cmd/system?PORT_REGISTER
http://ip:port/cgi-bin/cmd/system?PORT_CONTROL
http://ip:port/cgi-bin/cmd/system?PORT_VIDEO
http://ip:port/cgi-bin/cmd/system?PORT_MULTICAST
http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&PORT_REGISTER=6000
http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&PORT_CONTROL=6001
http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&PORT_VIDEO=6002
http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&PORT_MULTICAST=5000
or
http://ip:port/cgi-bin/cmd/system?PORT_REGISTER=6000
http://ip:port/cgi-bin/cmd/system?PORT_CONTROL=6001
http://ip:port/cgi-bin/cmd/system?PORT_VIDEO=6002
http://ip:port/cgi-bin/cmd/system?PORT_MULTICAST=5000

Back to

HOME, SYSTEM CGI