payload(3)

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

πŸ’– payload(3) β€” Library Functions Manual πŸ’–

okay bestie, sit down, hydrate, because we're doing RTP payload lore today. this is the payload page from the ccRTP Library Functions Manual, and honestly? it's giving foundational. it's giving "everything else is built on top of me." let's go πŸ¦‹


✨ NAME ✨

payload β€” Payload types and formats. periodt.


🌸 SYNOPSIS 🌸

πŸ’… Classes

  • class PayloadFormat β€” the base payload format class, aka the mother of all payload formats. everything else is her daughter.
  • class StaticPayloadFormat β€” Static payload format objects. the fixed, pre-agreed-upon girlies.
  • class DynamicPayloadFormat β€” Dynamic payload format objects. the negotiate-it-later ones. main character energy, honestly.

πŸŽ€ Typedefs

  • typedef uint8 PayloadType β€” RTP payload type numeric identifier. one little number, huge responsibilities.

🧚 Enumerations

  • enum StaticPayloadType β€” all the RTP static payload types (default bindings) defined in the AVP profile, in one glorious enum:
enum StaticPayloadType { 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 }

πŸ“ Variables

  • const PayloadType ptINVALID = 128 β€” the predefined value for invalid or uninitialized payload type variables. she's the "nobody's home" flag. πŸ πŸ’€

πŸ’œ Detailed Description πŸ’œ

no extra lore dropped here, bestie β€” the real details are living their best lives in the sections right below. keep scrolling. ⬇️


🌈 Typedef Documentation 🌈

⭐ PayloadType

RTP payload type numeric identifier.

so at the RTP level, a payload format gets identified by a 7 bit number. that's it, that's the whole ID card. and this number is binded to a payload format through non-RTP means β€” think SIP, SAP, application specific rules, etc. basically the RTP layer doesn't decide who's who, somebody else does the matchmaking. πŸ’Œ


πŸ‘‘ Enumeration Type Documentation πŸ‘‘

πŸ¦‹ enum StaticPayloadType

RTP static payload types (default bindings) defined in the AVP profile. these are the pre-arranged seats β€” everybody already knows who sits where.

Enumerator

  • sptPCMU β€” ITU-T G.711. mu-law audio 8 Khz (RFC 1890)
  • firstStaticPayloadType β€” no description on file, she just marks the beginning. the opening act. ✨
  • sptG726_32 β€” ITU-T G.726. ADPCM audio (RFC 1890)
  • sptGSM β€” GSM audio (RFC 1890)
  • sptG723 β€” ITU-T G.723. MP-MLQ ACELP audio (RFC 1890)
  • sptDVI4_8000 β€” Modified IMA ADPCM audio 8Khz (RFC 1890)
  • sptDVI4_16000 β€” Modified IMA ADPCM audio 16Khz (RFC 1890)
  • sptLPC β€” LPC audio (RFC 1890)
  • sptPCMA β€” ITU-T G.711 A-law audio 8 Khz (RFC 1890)
  • sptG722 β€” Audio (RFCs 1890, 3047)
  • sptL16_DUAL β€” Linear uncompressed dual audio (RFC 1890)
  • sptL16_MONO β€” Linear uncompressed mono audio (RFC 1890)
  • sptQCELP β€” Audio at 8000 hz.
  • sptMPA β€” MPEG Audio elem. stream (RFCs 1890, 2250)
  • sptG728 β€” ITU-T G.728. LD-CELP audio.
  • sptDVI4_11025 β€” DVI audio at 11025 hz (by Joseph Di Pol)
  • sptDVI4_22050 β€” DVI audio at 22050 hz (by Joseph Di Pol)
  • sptG729 β€” ITU-T G.729. CS-ACELP audio.
  • lastStaticAudioPayloadType β€” no description, she's the closing bracket for the audio girlies. 🎧
  • sptCELB β€” Sun's propietary video (RFCs 1890, 2029)
  • sptJPEG β€” JPEG (ISO 10918) video (RFCs 1890, 2435)
  • sptNV β€” Ron Frederick's nv audio (RFC 1890)
  • sptH261 β€” ITU-T H.261 video (RFCs 1890, 2032)
  • sptMPV β€” MPEG Video elem. stream (RFCs 1890, 2250)
  • sptMP2T β€” MPEG 2 Transport stream (RFCs 1890, 2250)
  • sptH263 β€” ITU-T H.263 video (RFCs 2190, 2429)
  • lastStaticPayloadType β€” no description, just the final curtain call. 🎬

🫢 Variable Documentation 🫢

πŸ’– const PayloadType ptINVALID = 128

Predefined value for invalid or uninitialized payload type variables.

tl;dr: if your payload type variable is sitting at 128, she has not been assigned yet, or something went wrong. either way, not a valid payload type. don't build on her. 🚫


πŸ“ Author πŸ“

Generated automatically by Doxygen for ccRTP from the source code.

not me getting emotional over auto-generated docs 😭 Doxygen really said "I'll handle the paperwork, you go be iconic."

aaaaand that's the whole page, bestie πŸ’… footer says ccRTP and payload(3), courtesy of Doxygen doing its little generation thing. go forth and identify your payloads correctly. no cap. πŸŽ€πŸ’–βœ¨

πŸ“¦ where this page comes from