RTPApplication(3)
π NAME π
RTPApplication β an RTP application, holding all the identifying RTCP SDES item values. she's the one who knows who everyone is, bestie π
β¨
(this page lives in the Library Functions Manual, and it's RTPApplication(3) β yes, section 3, the library functions section, we love a specific queen π)
β¨ SYNOPSIS β¨
#include <sources.h>
Inherits SDESItemsHolder. she's got ancestors, it's giving family tree π³π
π Classes
class ParticipantsIteratorβ an iterator that walks you through the list of participants in this session. tour guide energy fr fr πΆββοΈβ¨
π Public Member Functions
RTPApplication (const std::string &cname)β create a new RTP application. new era unlocked π¦~RTPApplication ()β the destructor. she's logging off πvoid setSDESItem (SDESItemType item, const std::string &val)void setPRIVPrefix (const std::string &val)const std::string & getSDESItem (SDESItemType item) constconst std::string & getPRIVPrefix () constParticipantsIterator begin ()ParticipantsIterator end ()const Participant * getParticipant (const std::string &cname) const
π«Ά Friends
class ApplicationHandlerβ bestie privileges: granted π
π Detailed Description π
An RTP application, holding identifying RTCP SDES item values. that's her whole thing, that's the vibe β¨
Represents local participants.
okay so here's the lore. An application in the context of RTP is an entity that has a CNAME (a unique identifier in the form of user@host.domain) plus other RTCP SDES items (like NAME or TOOL, you know the ones), and she 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 in. All the sources of synchronization from a participant are tied together by means of the CNAME β like a group chat, everyone linked through one identity, no cap ππ«
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. multiple main characters, one process, iconic π
πΈ Author
Federico Montesino Pouzols fedemp@altern.org β thank you for your service π«‘π
π Examples
ccrtptest.cpp.
π 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. so if you show up empty-handed she'll just figure it out herself, self-sufficient queen β¨
Parameters
cnameβ Local participant canonical name.
RTPApplication::~RTPApplication ()
π Member Function Documentation π
ParticipantsIterator RTPApplication::begin () [inline]
Examples: ccrtptest.cpp.
ParticipantsIterator RTPApplication::end () [inline]
Examples: ccrtptest.cpp.
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]
void RTPApplication::setPRIVPrefix (const std::string & val) [inline]
void RTPApplication::setSDESItem (SDESItemType item, const std::string & val) [inline]
Examples: ccrtptest.cpp, rtplisten.cpp, and rtpsend.cpp.
π₯ Friends And Related Symbol Documentation π₯
friend class ApplicationHandler [friend]
π Author π
Generated automatically by Doxygen for ccRTP from the source code.
and that's the whole page bestie β footer says ccRTP and it'sRTPApplication(3), that's the version/source stamp down at the bottom, no date on this one, we're just vibing with the source code πΈπ slay, go readsources.hand call yourbegin()β¨
π¦ 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