RtpInnerPacket

Namespace: inet::rtp

packet RtpInnerPacket

This class is used for communication between submodules of the RTP layer module.

Usage diagram

Fields

Name

Type

Description

type

RtpInpType

The type of this RtpInnerPacket.

commonName

string

The CNAME

mtu

int

The MTU

bandwidth

int

The Bandwidth

rtcpPercentage

int

The RTCP percentage

address

Ipv4Address

The Ipv4 address

port

int

The port number

ssrc

uint32_t

The SSRC identifier

payloadType

int

The payload type

fileName

string

The file name

clockRate

int

The clock rate

timeStampBase

int

The RTP time stamp base

sequenceNumberBase

int

The RTP sequence number base

Source code

//
// This class is used for communication between submodules of the RTP layer module.
//
packet RtpInnerPacket
{
    // The type of this ~RtpInnerPacket.
    RtpInpType type = RTP_INP_UNDEF;

    // The CNAME
    string commonName;

    // The MTU
    int mtu;

    // The Bandwidth
    int bandwidth;

    // The RTCP percentage
    int rtcpPercentage;

    // The Ipv4 address
    Ipv4Address address = Ipv4Address::UNSPECIFIED_ADDRESS;

    // The port number
    int port = PORT_UNDEF;

    // The SSRC identifier
    uint32_t ssrc;

    // The payload type
    int payloadType;

    // The file name
    string fileName;

    // The clock rate
    int clockRate;

    // The RTP time stamp base
    int timeStampBase;

    // The RTP sequence number base
    int sequenceNumberBase;
};

File: src/inet/transportlayer/rtp/RtpInnerPacket.msg