Simple Module RTP

Package: inet.transport.rtp
File: src/transport/rtp/RTP.ned

C++ definition

The RTP module is the center of the RTP layer of an endsystem. It communicates with the application, and sends and receives RTP data packets.

Much of the work is done by dynamically created Profile, and Payload Sender and Receiver modules (the latter two are created by Profile).

See RTPProfile, RTPAVProfile

RTP

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Used in compound modules:

Name Type Description
RTPLayer compound module (no description)

Properties:

Name Value Description
display i=block/buffer

Gates:

Name Direction Size Description
appIn input
profileIn input
rtcpIn input
udpIn input
appOut output
profileOut output
rtcpOut output
udpOut output

Source code:

//
// The \RTP module is the center of the \RTP layer of an endsystem.
// It communicates with the application, and sends and receives \RTP data
// packets.
//
// Much of the work is done by dynamically created Profile, and Payload
// Sender and Receiver modules (the latter two are created by Profile).
//
// See RTPProfile, RTPAVProfile
//
simple RTP
{
    parameters:
        @display("i=block/buffer");
    gates:
        input appIn @labels(RTPInterfacePacket/down);
        input profileIn @labels(RTPInnerPacket);
        input rtcpIn @labels(RTPInnerPacket);
        input udpIn @labels(UDPControlInfo/up);
        output appOut @labels(RTPInterfacePacket/up);
        output profileOut @labels(RTPInnerPacket);
        output rtcpOut @labels(RTPInnerPacket);
        output udpOut @labels(UDPControlInfo/down);
}