DynamicPayloadFormat(3)

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

✨ DynamicPayloadFormat(3) ✨

okay bestie, come sit with me because we're talking about DynamicPayloadFormat from the ccRTP crew β€” a whole little manual page, and yes, it's giving library functions manual energy πŸŽ€


🌸 NAME 🌸

DynamicPayloadFormat β€” dynamic payload format objects. that's it, that's the vibe πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <formats.h>

Inherits PayloadFormat. yes queen, it's a subclass, we love an inheritance moment πŸ‘‘

πŸ’– Public Member Functions πŸ’–

  • DynamicPayloadFormat (PayloadType type, uint32 rate) β€” the constructor, the whole origin story 🍼

🌈 Public Member Functions inherited from PayloadFormat 🌈

  • PayloadType getPayloadType () const β€” grab the payload type numeric identifier that gets carried around in RTP packets πŸ“¦
  • uint32 getRTPClockRate () const β€” grab the RTP clock rate for this payload format ⏰

🫢 Additional Inherited Members 🫢

πŸ’œ Protected Member Functions inherited from PayloadFormat πŸ’œ

  • PayloadFormat () β€” PayloadFormat must not be used but as base class. it's a base class only, no solo careers allowed πŸ™ˆ
  • virtual ~PayloadFormat () β€” same deal: PayloadFormat must not be used but as base class. destructor said base class only too 😭
  • void setPayloadType (PayloadType pt) β€” set the payload type numeric identifier carried in RTP packets ✍️
  • void setRTPClockRate (uint32 rate) β€” set the RTP clock rate πŸ•°οΈ

⭐ Static Protected Attributes inherited from PayloadFormat ⭐

  • static const uint32 defaultRTPClockRate β€” the default, sitting there, protected, iconic 🌟

πŸ‘‘ Detailed Description πŸ‘‘

Dynamic payload format objects. that's the headline bestie πŸ’–

so. this is the class of payload format objects for payload types that get dynamically negotiated 🀝 and here's the thing β€” because these payloads do not have a fix RTP clock rate assigned, you have to hand it over to the constructor yourself. no default, no guessing, you bring the clock rate πŸ•

this class is gonna be used by applications that support dynamic payload negotiation, periodt. if that's your app, this is your girl πŸ’…

πŸŽ€ Author πŸŽ€

Federico Montesino Pouzols fedemp@altern.org β€” shoutout to the author, we stan 🫢


🌟 Constructor & Destructor Documentation 🌟

πŸ“ DynamicPayloadFormat::DynamicPayloadFormat (PayloadType type, uint32 rate) πŸ“

Constructor. builds a dynamic payload format out of the payload numeric identifier and the corresponding RTP clock rate πŸ› οΈβœ¨

πŸ’« Parameters πŸ’«

  • type β€” payload type numeric identifier πŸ”’
  • rate β€” RTP clock rate ⏱️

πŸ’Œ Author πŸ’Œ

Generated automatically by Doxygen for ccRTP from the source code β€” so yeah, ccRTP is the source/version behind this whole page, no cap πŸ¦‹

and that's the whole thing bestie, you're officially fluent in DynamicPayloadFormat(3), go slay πŸ’…πŸ’–βœ¨

πŸ“¦ where this page comes from