formats.h(3)
π formats.h(3) π
okay bestie, sit down, hydrate, and let me tell you about formats.h(3) β it's a page from the Library Functions Manual, living over in ccRTP land, and it's literally the home of payload types and formats. no cap. π
β¨ NAME β¨
formats.h β payload types and formats. that's the whole vibe. short, sweet, iconic. π
πΈ SYNOPSIS πΈ
π Classes
class PayloadFormatβ the base payload format class, the mother of them all, the main character fr. πclass StaticPayloadFormatβ static payload format objects. they don't move, they don't need to, they're booked and busy. β¨class DynamicPayloadFormatβ dynamic payload format objects. flexible, adaptable, giving range. π¦
π§ Typedefs
typedef uint8 PayloadTypeβ the RTP payload type numeric identifier. it's auint8, so keep it cute and keep it in range. π
π Enumerations
enum StaticPayloadType
RTP static payload types (default bindings) defined in the AVP profile. here's the full roster, bestie, every single one, in order:
sptPCMU = 0firstStaticPayloadType = sptPCMUsptG726_32 = 2sptGSMsptG723sptDVI4_8000sptDVI4_16000sptLPCsptPCMAsptG722sptL16_DUALsptL16_MONOsptQCELPsptMPA = 14sptG728sptDVI4_11025sptDVI4_22050sptG729lastStaticAudioPayloadType = sptG729sptCELB = 25sptJPEGsptNV = 28sptH261 = 31sptMPVsptMP2TsptH263lastStaticPayloadType = sptH263
likeβ¦ the way that sptPCMU starts at 0 and sptH263 closes the whole thing out as lastStaticPayloadType? poetry, honestly. ππ
β Variables
const PayloadType ptINVALID = 128β the predefined value for invalid or uninitialized payload type variables. if you seeptINVALID, bestie, that payload type is NOT valid, it's giving uninitialized, do not pass go. π«π
π Detailed Description π
Payload types and formats. that's it, that's the whole description. mysterious, minimal, obsessed. π«Ά
π Author π
Generated automatically by Doxygen for ccRTP from the source code. not a human typing this with their hands, it's the machines doing their thing. iconic behaviour from Doxygen ngl. π€β¨
lowkey important: nothing here got added or changed, every single enum value, typedef, class and variable is exactly as it was. i would never do you dirty like that. π
and that's the page, bestie! this one comes to you from ccRTP, filed under formats.h(3), straight from the Library Functions Manual. go forth and slay your payload types. periodt. πππ¦
π¦ 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
- ubuntu resolute: libccrtp-doc 2.0.9-4.1build2 Β· GPL-2.0-or-later WITH MIF exception
- ubuntu stonking: libccrtp-doc 2.0.9-7 Β· GPL-2.0-or-later WITH MIF exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms