RTPApplication(3)

πŸ“¦
version 2.0.9 Β· 4 versions
, in debian trixie, ubuntu noble, ubuntu questing

πŸ’– 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) const
  • const std::string & getPRIVPrefix () const
  • ParticipantsIterator 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.


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's RTPApplication(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 read sources.h and call your begin() ✨
πŸ“¦ where this page comes from