rtcppkt.h(3)

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

πŸ’– rtcppkt.h πŸ’–

okay bestie, welcome to rtcppkt.h β€” the header for RTCP packets handling ✨ it's part of the ccRTP library (that's the 3 in the title up there, iykyk), and it's literally the whole vibe of dealing with RTCP packets. let's get into it 🫢


✨ NAME ✨

rtcppkt.h β€” RTCP packets handling. periodt. πŸ’…


🌸 SYNOPSIS 🌸

#include <ccrtp/base.h>

πŸŽ€ Classes πŸŽ€

okay so here's the whole cast of characters, and every single one of them is iconic in their own way:

  • class RTCPCompoundHandler β€” low level structs and RTCP packet parsing and building methods. the main character fr. πŸ‘‘
  • struct RTCPCompoundHandler::ReceiverInfo β€” Struct for the data contained in a receiver info block.
  • struct RTCPCompoundHandler::RRBlock β€” Struct for a receiver info block in a SR (sender report) or an RR (receiver report) RTCP packet.
  • struct RTCPCompoundHandler::RecvReport β€” raw structure of the source and every receiver report in an SR or RR RTCP packet.
  • struct RTCPCompoundHandler::SenderInfo β€” Struct for the sender info block in a SR (sender report) RTCP packet.
  • struct RTCPCompoundHandler::SendReport β€” Struct for SR (sender report) RTCP packets.
  • struct RTCPCompoundHandler::SDESItem β€” Struct for an item description of a SDES packet.
  • struct RTCPCompoundHandler::SDESChunk β€” Struct for a chunk of items in a SDES RTCP packet.
  • struct RTCPCompoundHandler::BYEPacket β€” Struct for BYE (leaving session) RTCP packets. saying goodbye but make it a packet 😭
  • struct RTCPCompoundHandler::APPPacket β€” Struct for APP (application specific) RTCP packets.
  • struct RTCPCompoundHandler::FIRPacket β€” Struct for Full Intra-frame Request (FIR) RTCP packet.
  • struct RTCPCompoundHandler::NACKPacket β€” Struct for Negative ACKnowledgements (NACK) RTCP packet.
  • struct RTCPCompoundHandler::RTCPFixedHeader β€” Fixed RTCP packet header.
  • struct RTCPCompoundHandler::RTCPPacket β€” Struct representing general RTCP packet headers as they are sent through the network.
  • class RTCPReceiverInfo β€” Report block information of SR/RR RTCP reports.
  • class RTCPSenderInfo β€” Sender block information of SR RTCP reports.

πŸ¦‹ Enumerations πŸ¦‹

  • enum SDESItemType β€” SDES items that may be carried in a Source DEScription RTCP packet. and the values are, in order, no cap:
SDESItemTypeEND = 0,
SDESItemTypeCNAME,
SDESItemTypeNAME,
SDESItemTypeEMAIL,
SDESItemTypePHONE,
SDESItemTypeLOC,
SDESItemTypeTOOL,
SDESItemTypeNOTE,
SDESItemTypePRIV,
SDESItemTypeH323CADDR,
SDESItemTypeLast = SDESItemTypeH323CADDR

🌈 Functions 🌈

  • timeval NTP2Timeval (uint32 msw, uint32 lsw) β€” Convert a NTP timestamp, expressed as two 32-bit long words, into a timeval value. two lil words in, one timeval out, slay. ✨
  • uint32 timevalIntervalTo65536 (timeval &t) β€” Convert a time interval, expressed as a timeval, into a 32-bit time interval expressed in units of 1/65536 seconds. yes the denominator is exactly that, don't @ me. πŸ’…

πŸ’œ Detailed Description πŸ’œ

RTCP packets handling.

that's it. that's the whole thing. the header handles RTCP packets, and honestly? it ate. πŸ”₯


🧚 Author 🧚

Generated automatically by Doxygen for ccRTP from the source code. not me getting auto-generated by doxygen bestie, the robots wrote me 😭


lowkey reminder: this page came from the ccRTP manual, page rtcppkt.h(3). that's the source and version, and the date is baked into the footer. k bye, go parse some packets πŸŽ€βœ¨πŸ’–
πŸ“¦ where this page comes from