ccRTP 2.1.2
|
A class of objects representing remote participants (RTP applications) in a multimedia session. More...
#include <sources.h>
Public Member Functions | |
const std::string & | getSDESItem (SDESItemType type) const |
Get the value of an SDES item. More... | |
const std::string & | getPRIVPrefix () const |
Get the prefix value for the PRIV SDES item. More... | |
Participant (const std::string &cname) | |
Construct a new participant. More... | |
~Participant () | |
Private Member Functions | |
void | setSDESItem (SDESItemType item, const std::string &val) |
Set the value of a SDES item. More... | |
void | setPRIVPrefix (const std::string val) |
Set prefix value for the PRIV SDES item. More... | |
const std::string & | getItem (SDESItemType type) const |
void | setItem (SDESItemType item, const std::string &val) |
void | setPRIVPrefix (const std::string &val) |
Friends | |
class | ParticipantHandler |
A class of objects representing remote participants (RTP applications) in a multimedia session.
Any RTP socket/queue class that directly or indirectly inherits from QueueRTCPManager (and hence has RTCP support) will represent participants from which any RTP or RTCP packet has been received through a Participant object. These Participant objects are entities such as end systems (user applications, monitors, etc), RTP mixers and RTP translators.
Participant objects are identified by a CNAME and provide access to all known data about the source of RTP/RTCP packets, such as the CNAME and any other SDES item. Each participant object is related to one or more synchronization objects (
If an RTP application based on ccRTP receives packets from itself (for instance, it is included in the destination list), there will be a Participant object that corresponds to the "local participant" (RTPApplication) object.
Participant::Participant | ( | const std::string & | cname | ) |
Construct a new participant.
cname | Unique CNAME identifier. |
Definition at line 118 of file source.cpp.
Participant::~Participant | ( | ) |
Definition at line 123 of file source.cpp.
|
inherited |
Definition at line 99 of file source.cpp.
|
inline |
|
inline |
Get the value of an SDES item.
For instance, getSDESItem(SDESItemTypeCNAME), return the CNAME of this Participant.
type | type of SDES item to get value of. |
empty | string when the value is not known (no RTCP packet with the requested SDES item has been received from this source). |
|
inherited |
Definition at line 91 of file source.cpp.
|
inlineinherited |
|
inlineprivate |
|
inlineprivate |
|
friend |