RtpParticipantInfo

Namespace: inet::rtp

class RtpParticipantInfo

This class is a super class for classes intended for storing information about ~RTP end systems. It has two subclasses: RTPReceiverInformation which is used for storing information about other system participating in an ~RTP session. RTPSenderInformation is used by an ~RTP endsystem for storing information about itself. sa RTPReceiverInformation sa RTPSenderInformation

Usage diagram

Inheritance diagram

Extends

Name

Type

Description

cNamedObject

(unknown – not in documented files)

Fields

Name

Type

Description

ssrc

uint32_t

address

Ipv4Address

Used for storing the ip address of this endsystem.

RTPPort

int

Used for storing the port for ~RTP by this endsystem.

RTCPPort

int

Used for storing the port for ~RTCP by this endsystem.

Properties

Name

Value

Description

customize

FIXME need revise, several custommized functions should be moved to a processing module

Source code

//
// This class is a super class for classes intended for storing information
// about ~RTP end systems.
// It has two subclasses: RTPReceiverInformation which is used for storing
// information about other system participating in an ~RTP session.
// RTPSenderInformation is used by an ~RTP endsystem for storing information
// about itself.
// sa RTPReceiverInformation
// sa RTPSenderInformation
//
class RtpParticipantInfo extends cNamedObject
{
    @customize;  //FIXME need revise, several custommized functions should be moved to a processing module

    abstract uint32_t ssrc;

    // Used for storing the ip address of this endsystem.
    Ipv4Address address = Ipv4Address::UNSPECIFIED_ADDRESS;

    // Used for storing the port for ~RTP by this endsystem.
    int RTPPort = PORT_UNDEF;

    // Used for storing the port for ~RTCP by this endsystem.
    int RTCPPort = PORT_UNDEF;
};

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