RTP-RTP

From RtpBridge
Jump to: navigation, search

Connects RTP-to-RTP

Such types of connections are done to be able to provide RTP-only Transconding operations with Voice or Video streams. It is possible to complete that using Command CONNECT.

Command syntax Description

   connect  rtp:ip_addr_rx:remote_port_rx:local_port_rx[:codecRTP_rx]  rtp:ip_addr_tx:remote_port_tx:local_port_tx[:codecRTP_tx]

In this type of commands are actually 2 connections are: RemoteHostRx -> RtpBridge and RtpBridge->RemoteHostTx Fields:

RX Part (RTP) RemoteHostRx -> RtpBridge:

ip_addr_rx - Incoming RTP Connection IP Address of the Remote Host, set 0.0.0.0 if ANY
remote_port_rx - Incoming RTP Connection port of the Remote Host
local_port_rx - A port that RtpBridge will listen on any RTP data
codecRTP_rx - Manual Codec Selection from the allowed list, skip if set automatically (by the RTP PT field)


TX Part (RTP) RtpBridge -> RemoteHostTx:

ip_addr_tx - Outgoing RTP Connection IP Address of the Remote Host, set 0.0.0.0 if ANY
remote_port_tx - Outgoing RTP Connection port of the Remote Host
local_port_tx - A port that RtpBridge will send the RTP data from
codecRTP_tx - Codec, default is g711a [[G.711] a-law.

Simple Example

   connect rtp:192.168.1.10:12000:4000  rtp:192.168.1.11:13000:4001:g729

RTP-RTP.jpg

In this example the RTP data is sent from host 192.168.1.10 from port 12000 to RtpBridge port 4000. The data will be transcoded to the G.729 and sent by the RTP to the host 192.168.1.11 to port 13000 from port 4001 on the RtpBridge side.