RTCP

Package: inet.transportlayer.rtp

RTCP

simple module

RTCP end system.

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

Properties

Name Value Description
display i=block/control

Gates

Name Direction Size Description
rtpIn input
udpIn input
rtpOut 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

//
// RTCP end system.
//
simple RTCP
{
    parameters:
        string interfaceTableModule;   // The path to the InterfaceTable module
        @display("i=block/control");
        @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 rtpIn @labels(RTPInnerPacket);
        input udpIn @labels(UDPControlInfo/up);
        output rtpOut @labels(RTPInnerPacket);
        output udpOut @labels(UDPControlInfo/down);
}
File: src/inet/transportlayer/rtp/RTCP.ned