RTPQueueBase(3)
πΈ RTPQueueBase(3) πΈ
okay bestie, welcome to the Library Functions Manual π this one's page RTPQueueBase(3) and it's giving foundational base class energy β literally the blueprint other RTP queue classes inherit from. let's get into it β¨
π NAME π
RTPQueueBase β a virtual base class for RTP queue hierarchies.
like, the mom of the whole queue family tree π«Ά
β¨ SYNOPSIS β¨
#include <queuebase.h>
Inherited by IncomingDataQueueBase [virtual], and OutgoingDataQueueBase [virtual].
π Public Member Functions π
bool setPayloadFormat (const PayloadFormat &pf)β sets the payload format in use, for timing and payload type identification purposes.uint32 getLocalSSRC () constuint32 getCurrentRTPClockRate () constβ grabs the clock rate in RTP clock units (like, 8000 units per second for PCMU, or 90000 units per second for MP2T, iykyk).PayloadType getCurrentPayloadType () consttimeval getInitialTime () const
π Protected Member Functions π
RTPQueueBase (uint32 *ssrc=NULL)void setLocalSSRC (uint32 ssrc)uint32 getLocalSSRCNetwork () constvirtual ~RTPQueueBase ()virtual size_t dispatchBYE (const std::string &)β a plugin point for posting of BYE messages, periodt.virtual void renewLocalSSRC ()
π¦ Detailed Description π¦
A virtual base class for RTP queue hierarchies. no cap, that's the whole vibe β everything else builds on top of her π
π Author
Federico Montesino Pouzols fedemp@altern.org
πΈ Constructor & Destructor Documentation πΈ
π RTPQueueBase::RTPQueueBase (uint32 * ssrc = NULL) [protected]
Parameters
- ssrc β if it's not null, this is the local SSRC identifier for this session. (if it is null, she just vibes without one π )
π virtual RTPQueueBase::~RTPQueueBase () [inline], [protected], [virtual]
the destructor, being all three of those things at once. main character energy honestly π
β¨ Member Function Documentation β¨
π virtual size_t RTPQueueBase::dispatchBYE (const std::string &) [inline], [protected], [virtual]
A plugin point for posting of BYE messages. so like, when someone dips out of the session, this is where the goodbye goes π«Ά
Parameters
- reason to leave the RTP session.
Returns
number of octets sent.
Reimplemented in QueueRTCPManager, TRTPSessionBase< RTPDataChannel, RTCPChannel, ServiceQueue >, TRTPSessionBase< DualRTPUDPIPv4Channel, DualRTPUDPIPv4Channel, AVPQueue >, and SingleThreadRTPSession< RTPDataChannel, RTCPChannel, ServiceQueue >.
π PayloadType RTPQueueBase::getCurrentPayloadType () const [inline]
she's just here, serving const correctness π
π uint32 RTPQueueBase::getCurrentRTPClockRate () const [inline]
Get the clock rate in RTP clock units (for instance, 8000 units per second for PCMU, or 90000 units per second for MP2T). This value depends on what payload format has been selected using setPayloadFormat().
Returns
clock rate in RTP clock units.
Examples
ccrtptest.cpp, rtphello.cpp, and rtpsend.cpp.
π timeval RTPQueueBase::getInitialTime () const [inline]
no extra deets on this one, she's lowkey mysterious π
π uint32 RTPQueueBase::getLocalSSRC () const [inline]
Examples
rtphello.cpp, rtplisten.cpp, and rtpsend.cpp.
π uint32 RTPQueueBase::getLocalSSRCNetwork () const [inline], [protected]
protected and inline, living her best hidden life β¨
π virtual void RTPQueueBase::renewLocalSSRC () [inline], [protected], [virtual]
Reimplemented in RTPDataQueue, and IncomingDataQueue.
π void RTPQueueBase::setLocalSSRC (uint32 ssrc) [inline], [protected]
sets the local SSRC. short and sweet, iconic honestly π
π bool RTPQueueBase::setPayloadFormat (const PayloadFormat & pf) [inline]
Set the payload format in use, for timing and payload type identification purposes.
Parameters
- pf β payload format to use from now on.
Returns
whether the payload format has been successfully set.
Examples
audiorx.cpp, audiotx.cpp, ccrtptest.cpp, rtpduphello.cpp, rtphello.cpp, rtplisten.cpp, and rtpsend.cpp.
bestie this is the one everybody calls, look at that example list β she's booked and busy π₯
π Author π
Generated automatically by Doxygen for ccRTP from the source code.
and that's the whole page, bestie!! π this lil manual page lives under the ccRTP name in the Library Functions Manual, and she's officially RTPQueueBase(3) β go forth and inherit responsibly πβ¨π¦
π¦ 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