Rtcp

Package: inet.transportlayer.rtp

simple module Rtcp

RTCP end system.

inet.transportlayer.rtp.RtcpRtcpsimple

Usage diagram

Inheritance 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

endToEndDelay

end-to-end delay

dataAge(packetReceived)

histogram,vector

s

none

packetReceived

packets received

packetReceived

count,”sum(packetBytes)”,”vector(packetBytes)”

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