RTP

Package: inet.transportlayer.rtp

RTP

simple module

(no description)

Used in compound modules

Name Type Description
RTPHost compound module

TODO document!

Parameters

Name Type Default value Description
interfaceTableModule string

The path to the InterfaceTable module

routingTableModule string

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

Signals

Name Type Unit
rcvdPk cPacket

Statistics

Name Title Source Record Unit Interpolation Mode
rcvdPk packets received rcvdPk count, sum(packetBytes), vector(packetBytes) none
endToEndDelay end-to-end delay messageAge(rcvdPk) histogram, vector s none

Source code

simple RTP
{
    parameters:
        string interfaceTableModule;   // The path to the InterfaceTable module
        string routingTableModule;
        @display("i=block/buffer");
        @signal[rcvdPk](type=cPacket);
        @statistic[rcvdPk](title="packets received"; source=rcvdPk; record=count,"sum(packetBytes)","vector(packetBytes)"; interpolationmode=none);
        @statistic[endToEndDelay](title="end-to-end delay"; source="messageAge(rcvdPk)"; unit=s; record=histogram,vector; interpolationmode=none);

    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);
}
File: src/inet/transportlayer/rtp/RTP.ned