formats.h(3)

πŸ“¦
version 2.0.9 Β· 3 versions
, in debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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 a uint8, 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 = 0
  • firstStaticPayloadType = sptPCMU
  • sptG726_32 = 2
  • sptGSM
  • sptG723
  • sptDVI4_8000
  • sptDVI4_16000
  • sptLPC
  • sptPCMA
  • sptG722
  • sptL16_DUAL
  • sptL16_MONO
  • sptQCELP
  • sptMPA = 14
  • sptG728
  • sptDVI4_11025
  • sptDVI4_22050
  • sptG729
  • lastStaticAudioPayloadType = sptG729
  • sptCELB = 25
  • sptJPEG
  • sptNV = 28
  • sptH261 = 31
  • sptMPV
  • sptMP2T
  • sptH263
  • lastStaticPayloadType = 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 see ptINVALID, 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