An RTP application, holding identifying RTCP SDES item values.
More...
#include <sources.h>
Inheritance diagram for RTPApplication:
Collaboration diagram for RTPApplication:
Data Structures
Iterator through the list of participants in this session.
More...
Public Member Functions
Create a new RTP application.
More...
Private Member Functions
Find out the local CNAME as user@host and store it as part of the internal state of this class.
More...
Private Attributes
List of participants, ordered from older to newer.
More...
Static Private Attributes
Hash table with sources of RTP and RTCP packets.
More...
Friends
Detailed Description
An RTP application, holding identifying RTCP SDES item values.
Represents local participants.
An application in the context of RTP: an entity that has a CNAME (unique identifier in the form of user@host.domain) as well as other RTCP SDES items (such as NAME or TOOL), and may open a number of RTP sessions. Each application is a different source of synchronization (with a potentially diferent SSRC identifier) in each RTP session it participates. All the sources of synchronization from a participant are tied together by means of the CNAME.
The definition of this class allows applications based on ccRTP to implement several "RTP applications" in the same process. Each object of this class represents a local participant.
- Author
- Federico Montesino Pouzols fedem.nosp@m.p@al.nosp@m.tern..nosp@m.org
Definition at line 367 of file sources.h.
Constructor & Destructor Documentation
RTPApplication::RTPApplication
(
const std::string &
cname )
Create a new RTP application.
If the CNAME string provided has zero length, it is guessed from the user and machine name.
- Parameters
-
cname Local participant canonical name.
RTPApplication::~RTPApplication
(
)
Member Function Documentation
void RTPApplication::addParticipant
(
Participant &
part )
private
void RTPApplication::findCNAME
(
)
private
Find out the local CNAME as user@host and store it as part of the internal state of this class.
const std::string& SDESItemsHolder::getItem
(
SDESItemType
type )
const
inherited
const
Participant* RTPApplication::getParticipant
(
const std::string &
cname )
const
const std::string& RTPApplication::getPRIVPrefix
(
)
const
inline
const std::string& RTPApplication::getSDESItem
(
SDESItemType
item )
const
inline
const std::string &
val
)
inherited
void RTPApplication::setPRIVPrefix
(
const std::string &
val )
inline
const std::string &
val
)
inline
Friends And Related Function Documentation
Field Documentation
const size_t RTPApplication::defaultParticipantsNum
staticprivate
Hash table with sources of RTP and RTCP packets.
Definition at line 489 of file sources.h.
List of participants, ordered from older to newer.
Definition at line 492 of file sources.h.
The documentation for this class was generated from the following file: