INET Framework for OMNeT++/OMNEST
inet::rtp::RTPAVProfile Class Reference

The class RTPAVProfile is a subclass of RTPProfile. More...

#include <RTPAVProfile.h>

Inheritance diagram for inet::rtp::RTPAVProfile:
inet::rtp::RTPProfile

Protected Member Functions

virtual void initialize () override
 This initialisation method sets following values: name, rtcpPercentage and preferredPort. More...
 
- Protected Member Functions inherited from inet::rtp::RTPProfile
virtual ~RTPProfile ()
 
virtual void handleMessage (cMessage *msg) override
 Creates and removes payload sender and receiver modules on demand. More...
 
virtual void handleMessageFromRTP (cMessage *msg)
 Handles messages received from the rtp module. More...
 
virtual void handleMessageFromPayloadSender (cMessage *msg)
 Handles messages coming from the sender module. More...
 
virtual void handleMessageFromPayloadReceiver (cMessage *msg)
 Handles messages coming from a receiver module. More...
 
virtual void initializeProfile (RTPInnerPacket *rinp)
 Initialization message received from rtp module. More...
 
virtual void createSenderModule (RTPInnerPacket *rinp)
 This method is called when the application issued the creation of an rtp payload sender module to transmit data. More...
 
virtual void deleteSenderModule (RTPInnerPacket *rinp)
 When a sender module is no longer needed it can be deleted by the profile module. More...
 
virtual void senderModuleControl (RTPInnerPacket *rinp)
 The profile module forwards sender control messages to the sender module. More...
 
virtual void dataIn (RTPInnerPacket *rinp)
 Handles incoming data packets: If there isn't a receiver module for this sender it creates one. More...
 
virtual void senderModuleInitialized (RTPInnerPacket *rinp)
 The sender module returns a senderModuleInitialized message after being initialized. More...
 
virtual void senderModuleStatus (RTPInnerPacket *rinp)
 After having received a sender module control message the sender module returns a sender status message to inform the application what it's doing at the moment. More...
 
virtual void dataOut (RTPInnerPacket *rinp)
 Handles outgoing data packets: Calls processOutgoingPacket and forwards the packet to the rtp module. More...
 
virtual void processIncomingPacket (RTPInnerPacket *rinp)
 Every time a rtp packet is received it it pre-processed by this method to remove profile specific extension which are not handled by the payload receiver module. More...
 
virtual void processOutgoingPacket (RTPInnerPacket *rinp)
 Simular to the procedure for incoming packets, this adds profile specific extensions to outgoing rtp packets. More...
 
virtual SSRCGatefindSSRCGate (uint32 ssrc)
 Finds the gate of the receiver module for rtp data packets from this ssrc. More...
 
virtual SSRCGatenewSSRCGate (uint32 ssrc)
 Creates a new association ssrc/gateId for this ssrc. More...
 

Additional Inherited Members

- Public Member Functions inherited from inet::rtp::RTPProfile
 RTPProfile ()
 
- Protected Types inherited from inet::rtp::RTPProfile
typedef std::map< uint32, SSRCGate * > SSRCGateMap
 Stores information to which gate rtp data packets from a ssrc must be forwarded. More...
 
- Protected Attributes inherited from inet::rtp::RTPProfile
const char * _profileName = nullptr
 The name of this profile. More...
 
int _maxReceivers = 0
 The maximum number of incoming data streams this profile module can handle. More...
 
SSRCGateMap _ssrcGates
 
int _rtcpPercentage = 0
 The percentage of the available bandwidth to be used for rtcp. More...
 
int _preferredPort = -1
 The rtp port this profile uses if no port is given. More...
 
int _mtu = 0
 The maximum size an RTPPacket can have. More...
 
bool _autoOutputFileNames = false
 If this is set true the RTPProfile automatically sets the output file name for payload receiver modules so the user is not bothered to set them manually during simulation runtime. More...
 

Detailed Description

The class RTPAVProfile is a subclass of RTPProfile.

It does not extend the functionality of its super class, it just sets some values in its initialize() method. For for information about the rtp audio/video profile consult rfc 1890.

Member Function Documentation

void inet::rtp::RTPAVProfile::initialize ( )
overrideprotectedvirtual

This initialisation method sets following values: name, rtcpPercentage and preferredPort.

Reimplemented from inet::rtp::RTPProfile.

27 {
29  _profileName = "AVProfile";
30  _rtcpPercentage = 5;
31  _preferredPort = 5005;
32 }
int _preferredPort
The rtp port this profile uses if no port is given.
Definition: RTPProfile.h:203
const char * _profileName
The name of this profile.
Definition: RTPProfile.h:179
int _rtcpPercentage
The percentage of the available bandwidth to be used for rtcp.
Definition: RTPProfile.h:198
virtual void initialize() override
Initializes variables.
Definition: RTPProfile.cc:36

The documentation for this class was generated from the following files: