SingleRTPSessionPool(3)
β¨ SingleRTPSessionPool β¨
okay bestie, pull up a chair π this is SingleRTPSessionPool, a page from the Library Functions Manual, and it's genuinely so cute β it's the lil pool that runs one thread and serves ALL your RTP sessions with it. main character energy fr fr π
πΈ NAME πΈ
SingleRTPSessionPool
π SYNOPSIS π
#include <pool.h>
Inherits RTPSessionPool, and Thread. (yes it's giving nepo baby but in a good way π
)
π« Public Member Functions
SingleRTPSessionPool (int pri=0)β the constructor, she's here π«Ά~SingleRTPSessionPool ()β the destructor, she's leavingvoid startRunning ()β kicks it off
π« Public Member Functions inherited from RTPSessionPool
RTPSessionPool ()virtual ~RTPSessionPool ()bool addSession (RTPSessionBase &session)bool removeSession (RTPSessionBase &session)size_t getPoolLength () constbool isActive ()
π« Public Member Functions inherited from RTPSessionBaseHandler
microtimeout_t getSchedulingTimeout (RTPSessionBase &s)timeval getRTCPCheckInterval (RTPSessionBase &s)size_t takeInDataPacket (RTPSessionBase &s)size_t dispatchDataPacket (RTPSessionBase &s)void controlReceptionService (RTPSessionBase &s)void controlTransmissionService (RTPSessionBase &s)SOCKET getDataRecvSocket (RTPSessionBase &s) constSOCKET getControlRecvSocket (RTPSessionBase &s) const
π¦ Protected Member Functions
void run ()β Runnable method for the thread. (the whole plot, honestly)
π¦ Protected Member Functions inherited from RTPSessionPool
void setActive ()timeval getPoolTimeout ()void setPoolTimeout (int sec, int usec)void setPoolTimeout (struct timeval to)
π Additional Inherited Members
π Protected Types inherited from RTPSessionPool
typedef std::list< SessionListElement * >::iterator PoolIterator
π Protected Attributes inherited from RTPSessionPool
std::list< SessionListElement * > sessionListThreadLock poolLockfd_set recvSocketSetSOCKET highestSocket
π Constructor & Destructor Documentation π
π SingleRTPSessionPool::SingleRTPSessionPool (int pri = 0) [inline]
Parameters
priβ optional thread priority value. (just a lil priority, no biggie π)
π SingleRTPSessionPool::~SingleRTPSessionPool () [inline]
that's it, that's the destructor, she said bye π
π₯ Member Function Documentation π₯
β void SingleRTPSessionPool::run () [protected]
Runnable method for the thread. This thread serves all the RTP sessions.added to this pool. (one thread, all the sessions, absolute icon behavior β¨)
β void SingleRTPSessionPool::startRunning () [inline], [virtual]
Implements RTPSessionPool.
π Author π
Generated automatically by Doxygen for ccRTP from the source code.
okay that's the whole page bestie, go forth and pool responsibly πΈπ¦
signing off from ccRTP, SingleRTPSessionPool(3) β that's the manual page, no cap π
π¦ 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