DynamicPayloadFormat(3)
β¨ DynamicPayloadFormat(3) β¨
okay bestie, come sit with me because we're talking about DynamicPayloadFormat from the ccRTP crew β a whole little manual page, and yes, it's giving library functions manual energy π
πΈ NAME πΈ
DynamicPayloadFormat β dynamic payload format objects. that's it, that's the vibe π
π¦ SYNOPSIS π¦
#include <formats.h>
Inherits PayloadFormat. yes queen, it's a subclass, we love an inheritance moment π
π Public Member Functions π
DynamicPayloadFormat (PayloadType type, uint32 rate)β the constructor, the whole origin story πΌ
π Public Member Functions inherited from PayloadFormat π
PayloadType getPayloadType () constβ grab the payload type numeric identifier that gets carried around in RTP packets π¦uint32 getRTPClockRate () constβ grab the RTP clock rate for this payload format β°
π«Ά Additional Inherited Members π«Ά
π Protected Member Functions inherited from PayloadFormat π
PayloadFormat ()βPayloadFormatmust not be used but as base class. it's a base class only, no solo careers allowed πvirtual ~PayloadFormat ()β same deal:PayloadFormatmust not be used but as base class. destructor said base class only too πvoid setPayloadType (PayloadType pt)β set the payload type numeric identifier carried in RTP packets βοΈvoid setRTPClockRate (uint32 rate)β set the RTP clock rate π°οΈ
β Static Protected Attributes inherited from PayloadFormat β
static const uint32 defaultRTPClockRateβ the default, sitting there, protected, iconic π
π Detailed Description π
Dynamic payload format objects. that's the headline bestie π
so. this is the class of payload format objects for payload types that get dynamically negotiated π€ and here's the thing β because these payloads do not have a fix RTP clock rate assigned, you have to hand it over to the constructor yourself. no default, no guessing, you bring the clock rate π
this class is gonna be used by applications that support dynamic payload negotiation, periodt. if that's your app, this is your girl π
π Author π
Federico Montesino Pouzols fedemp@altern.org β shoutout to the author, we stan π«Ά
π Constructor & Destructor Documentation π
π DynamicPayloadFormat::DynamicPayloadFormat (PayloadType type, uint32 rate) π
Constructor. builds a dynamic payload format out of the payload numeric identifier and the corresponding RTP clock rate π οΈβ¨
π« Parameters π«
typeβ payload type numeric identifier π’rateβ RTP clock rate β±οΈ
π Author π
Generated automatically by Doxygen for ccRTP from the source code β so yeah, ccRTP is the source/version behind this whole page, no cap π¦
and that's the whole thing bestie, you're officially fluent in DynamicPayloadFormat(3), go slay π
πβ¨
π¦ 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