RtcpPacket

Namespace: inet

class RtcpPacket

(no description)

Usage diagram

Inheritance diagram

Extends

Name

Type

Description

FieldsChunk

class

(no description)

Known subclasses

Name

Type

Description

RtcpByePacket

class

(no description)

RtcpReceiverReportPacket

class

(no description)

RtcpSdesPacket

class

(no description)

Fields

Name

Type

Description

id

int

mutable

bool

complete

bool

correct

bool

properlyRepresented

bool

chunkLength

b

rawBin

string[]

rawHex

string[]

regionTags

SharingRegionTagSet::TagBaseRegionTag[]

chunkLength

version

int8_t

padding

bool

(1 bits) Used to indicate if there are extra padding bytes at the end of the RTP packet. A padding might be used to fill up a block of certain size, for example as required by an encryption algorithm. The last byte of the padding contains the number of padding bytes that were added (including itself).

count

short

RC (Reception report count ): (5 bits) The number of reception report blocks contained in this packet. A value of zero is valid.

packetType

RtcpPacketType

(8 bits) Contains a constant to identify RTCP packet type.

rtcpLength

int

(16 bits) Indicates The length of this RTCP packet in 32-bit words minus one, including the header and any padding.

Properties

Name

Value

Description

beforeChange

handleChange()

descriptor

readonly

existingClass

packetData

Source code

class RtcpPacket extends FieldsChunk
{
    chunkLength = B(4);
    int8_t version = 2;
    bool padding = 0;   // (1 bits) Used to indicate if there are extra padding bytes at the end of the RTP packet. A padding might be used to fill up a block of certain size, for example as required by an encryption algorithm. The last byte of the padding contains the number of padding bytes that were added (including itself).
    short count = 0;    // RC (Reception report count ): (5 bits) The number of reception report blocks contained in this packet. A value of zero is valid.
    RtcpPacketType packetType = RTCP_PT_UNDEF;      // (8 bits) Contains a constant to identify RTCP packet type.
    int rtcpLength = 0;     // (16 bits) Indicates The length of this RTCP packet in 32-bit words minus one, including the header and any padding.
}

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