RtcpPacket

RtcpPacket

class

(no description)

Usage diagram

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the 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
chunkLength b
version int8
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.

mutable bool
complete bool
correct bool
properlyRepresented bool
rawBin string[]
rawHex string[]
tags RegionTagSet::cObjectRegionTag[]

Source code

class RtcpPacket extends FieldsChunk
{
    chunkLength = B(4);
    int8 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