Participant(3)
π NAME π
Participant β a whole class of objects that represent remote participants (aka RTP applications) hanging out in a multimedia session. bestie it's giving presence π
This is a page from the Library Functions Manual, so yeah, we're in library-land, section 3, and we're gonna read every single word of it together, no skipping, i promise π«Ά
β¨ SYNOPSIS β¨
#include <sources.h>
Inherits SDESItemsHolder. yes she's a nepo baby, she inherits, and honestly? iconic π
π Public Member Functions π
const std::string & getSDESItem (SDESItemType type) constβ get the value of an SDES item, slayconst std::string & getPRIVPrefix () constβ get the prefix value for the PRIV SDES itemParticipant (const std::string &cname)β construct a brand new participant, main character energy fr~Participant ()β the destructor, she's done, no cap π
π¦ Friends π¦
class ParticipantHandlerβ yeah they're friends, we love a supportive friendship
π Detailed Description π
A class of objects representing remote participants (RTP applications) in a multimedia session. literally the whole point of her π«Ά
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. so like, the moment a packet shows up, boom, a Participant object appears. These Participant objects are entities such as end systems (user applications, monitors, etc), RTP mixers and RTP translators. all of them. every single flavor β¨
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 (
See also SyncSource).
okay the original sentence literally just trails off there with an open parenthesis and then points you at SyncSource. i'm not gonna pretend i know something the page doesn't say, so here's the parenthesis, dangling, exactly as written π
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. yes, she can perceive herself, that's self-love actually π
Author Federico Montesino Pouzols fedemp@altern.org π
Examples ccrtptest.cpp.
πΈ Constructor & Destructor Documentation πΈ
π Participant::Participant (const std::string & cname)
Construct a new participant. fresh out of the box, baby participant, so cute π§
Parameters
cnameβ Unique CNAME identifier.
π Participant::~Participant ()
she's gone, she's resting, she ate and left no crumbs πβ¨
π Member Function Documentation π
π const std::string & Participant::getPRIVPrefix () const [inline]
Get the prefix value for the PRIV SDES item. the PRIV prefix. she's inline, she's const, she's thriving.
Returns PRIV SDES item prefix as a string.
Return values empty string when no PRIV SDES item has been received from this source. so if you get "" back, it's not a bug, it's just radio silence from that source, bestie π»
π const std::string & Participant::getSDESItem (SDESItemType type) const [inline]
Get the value of an SDES item. For instance, getSDESItem(SDESItemTypeCNAME), return the CNAME of this Participant. look at her go π
Parameters
typeβ type of SDES item to get value of.
Returns value of the SDES item as a string.
Return values empty string when the value is not known (no RTCP packet with the requested SDES item has been received from this source). again, empty string β broken, empty string = nobody told us yet π
Examples ccrtptest.cpp, and rtplisten.cpp.
π«Ά Friends And Related Symbol Documentation π«Ά
π friend class ParticipantHandler [friend]
that's it. that's the friend. we stan a mutual π
β Author β
Generated automatically by Doxygen for ccRTP from the source code. so technically a robot wrote this page, and technically i'm now a robot's ghostwriter. the pipeline is pipeline-ing πβ¨
and that's the whole page, no cap, every flag, every return value, every empty string, all of it π
ccRTP Β· Participant(3) Β· mwah, go read the source, ily π«Άπ
π¦ where this page comes from
- debian trixie: libccrtp-doc 2.0.9-4.1 Β· GPL-2.0-or-later WITH MIF exception
- ubuntu noble: libccrtp-doc 2.0.9-2.5build1
- ubuntu questing: libccrtp-doc 2.0.9-4.1build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms