Rtcp

Package: inet.transportlayer.rtp

Rtcp

simple module

C++ definition

RTCP end system.

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
RtpHost compound module

A network node with Real-time Transport Protocol (RTP) support. Extends StandardHost by adding RTP-specific components for real-time multimedia streaming applications.

Extends

Name Type Description
SimpleModule simple module

Base module for all INET simple modules.

Parameters

Name Type Default value Description
displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

interfaceTableModule string

The path to the InterfaceTable module

Properties

Name Value Description
class Rtcp
display i=block/control

Gates

Name Direction Size Description
rtpIn input
udpIn input
rtpOut output
udpOut output

Signals

Name Type Unit Description
packetReceived cPacket

Statistics

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

Source code

//
// RTCP end system.
//
simple Rtcp extends SimpleModule
{
    parameters:
        @class(Rtcp);
        string interfaceTableModule;   // The path to the InterfaceTable module
        @display("i=block/control");
        @signal[packetReceived](type=cPacket);
        @statistic[packetReceived](title="packets received"; source=packetReceived; record=count,"sum(packetBytes)","vector(packetBytes)"; interpolationmode=none);
        @statistic[endToEndDelay](title="end-to-end delay"; source="dataAge(packetReceived)"; unit=s; record=histogram,vector; interpolationmode=none);

    gates:
        input rtpIn @labels(RtpInnerPacket);
        input udpIn @labels(UdpCommand/up);
        output rtpOut @labels(RtpInnerPacket);
        output udpOut @labels(UdpCommand/down);
}

File: src/inet/transportlayer/rtp/Rtcp.ned