RTCPCOMPOUNDHANDLER_RTCPPACKET(3)

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

πŸ’– NAME πŸ’–

okay so bestie, meet RTCPCompoundHandler::RTCPPacket β€” it's a Struct representing general RTCP packet headers as they are sent through the network. that's the whole vibe. ✨

this page lives in the Library Functions Manual, section 3 β€” you know, RTCPCompoundHandler::RTCPPacket(3). iykyk. πŸ’…


✨ SYNOPSIS ✨

#include <rtcppkt.h>

πŸŽ€ Public Types πŸŽ€

  • enum Type β€” rtp.h cc++/rtp.h
enum Type { tSR = 200, tRR, tSDES, tBYE, tAPP, tFIR = 192, tNACK = 193, tXR }

πŸ¦‹ Public Member Functions πŸ¦‹

  • uint32 getLength () const β€” get the packet length specified in its header, in octets and in host order. yes, octets. yes, host order. no cap. πŸ’–
  • uint32 getSSRC () const β€” get the SSRC identifier specified in the packet header, in host order. iconic behavior honestly.

🌸 Public Attributes 🌸

  • RTCPFixedHeader fh β€” the Fixed RTCP header. the main character, always first. πŸ‘‘
  • union { ... } info β€” a union for SR, RR, SDES, BYE and APP:
union {
    SendReport SR
    RecvReport RR
    SDESChunk SDES
    BYEPacket BYE
    APPPacket APP
    NACKPacket NACK
    FIRPacket FIR
} info

πŸ’« Detailed Description πŸ’«

Struct representing general RTCP packet headers as they are sent through the network. fr fr, that's the job description. 🫢

This struct consists of a fixed header, always at the beginning of any RTCP packet, and a union for all the RTCP packet types supported. so like... one header to rule them all, then a little union doing the rest of the work. slay. πŸ’…


🧚 Member Enumeration Documentation 🧚

πŸ”₯ enum RTCPCompoundHandler::RTCPPacket::Type πŸ”₯

rtp.h cc++/rtp.h β€” RTCP packet types. They are registered with IANA. so official. so legit. ⭐

Enumerator

  • tSR β€” Sender Report.
  • tRR β€” Receiver Report.
  • tSDES β€” Source DEScription.
  • tBYE β€” End of participation.
  • tAPP β€” APPlication specific.
  • tFIR β€” Full Intra-frame request.
  • tNACK β€” Negative ACK.
  • tXR β€” Extended Report.

eight little icons, each with a whole personality. 🌈


πŸ’œ Member Function Documentation πŸ’œ

uint32 RTCPCompoundHandler::RTCPPacket::getLength () const [inline]

Get the packet length specified in its header, in octets and in host order. bestie it literally just reads the length off the header and hands it to you all tidy and host-ordered. πŸŽ€

uint32 RTCPCompoundHandler::RTCPPacket::getSSRC () const [inline]

Get the SSRC identifier specified in the packet header, in host order. same energy, different field β€” grab that SSRC and go. πŸ¦‹


πŸ“ Member Data Documentation πŸ“

  • APPPacket RTCPCompoundHandler::RTCPPacket::APP
  • BYEPacket RTCPCompoundHandler::RTCPPacket::BYE
  • RTCPFixedHeader RTCPCompoundHandler::RTCPPacket::fh β€” Fixed RTCP header.
  • FIRPacket RTCPCompoundHandler::RTCPPacket::FIR
  • union { ... } RTCPCompoundHandler::RTCPPacket::info β€” Union for SR, RR, SDES, BYE and APP.
  • NACKPacket RTCPCompoundHandler::RTCPPacket::NACK
  • RecvReport RTCPCompoundHandler::RTCPPacket::RR
  • SDESChunk RTCPCompoundHandler::RTCPPacket::SDES
  • SendReport RTCPCompoundHandler::RTCPPacket::SR

all the members, present and accounted for. not a single one skipped. we keep every detail in this house. πŸ’―


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for ccRTP from the source code. πŸ€–βœ¨


okay that's the whole page bestie, go forth and parse those RTCP packets responsibly 🫢

and that's a wrap on this ccRTP man page, RTCPCompoundHandler::RTCPPacket(3), straight from the Library Functions Manual β€” mwah, no notes. πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from