payload(3)
π 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
- 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