StaticPayloadFormat(3)
π StaticPayloadFormat β NAME
okay so bestie, this is the manual for StaticPayloadFormat(3), and it's all about Static payload format objects. that's the whole vibe. it lives in the Library Functions Manual, and yes we're getting into it π
β¨ SYNOPSIS β¨
#include <formats.h>
Inherits PayloadFormat. yeah she's a nepo baby, but like, the good kind π«Ά
π Public Member Functions
StaticPayloadFormat (StaticPayloadType type)β Constructor. that's it, that's the one you actually call, icon behavior β¨
πΈ Public Member Functions inherited from PayloadFormat
PayloadType getPayloadType () constβ Get payload type numeric identifier carried in RTP packets.uint32 getRTPClockRate () constβ Get 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. like, do NOT instantiate her directly bestie, she's a base class and she knows it πvirtual ~PayloadFormat ()βPayloadFormatmust not be used but as base class. same energy, same rule.void setPayloadType (PayloadType pt)β Set payload type numeric identifier carried in RTP packets.void setRTPClockRate (uint32 rate)β Set RTP clock rate.
Static Protected Attributes inherited from PayloadFormat
static const uint32 defaultRTPClockRateβ the default clock rate, sitting there being static and protected and mysterious π
π Detailed Description π
Static payload format objects. no cap, that's literally the whole summary.
Class of payload formats objects for payload types statically assigned. Because these payloads have an RTP clock rate assigned, it is not specified to the constructor. like, she already knows her clock rate, she doesn't need you to tell her π
A call to StaticPayloadFormat(sptPCMU) will set the proper clock rate and any other parameters for that static payload type. one line, everything handled, main character energy fr fr π
π Author
Federico Montesino Pouzols fedemp@altern.org β the legend themselves π«Ά
π Examples
audiorx.cpp, audiotx.cpp, ccrtptest.cpp, rtpduphello.cpp, rtphello.cpp, rtplisten.cpp, and rtpsend.cpp. go read those if you wanna see her in the wild β¨
πΈ Constructor & Destructor Documentation πΈ
StaticPayloadFormat::StaticPayloadFormat (StaticPayloadType type)
Constructor. Builds a payload format from a static payload binding identifier, assigning the numeric identifier and RTP clock rate statically bounded. so she takes the identifier, and the numbers just come with it π
Parameters
- type β Numeric identifier in the range
0-96.
Note
some identifiers are reserved. so like, don't just throw any old number in there, bestie π¨
β Author β
Generated automatically by Doxygen for ccRTP from the source code.
and that's the whole page, periodt π
this was StaticPayloadFormat(3) from the ccRTP Library Functions Manual, auto-generated by Doxygen straight from the source code β so if something looks formal, blame the generator, not me π go slay your RTP payloads bestie π¦β¨
π¦ 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