rtcppkt.h(3)
π 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 atimevalvalue. two lil words in, onetimevalout, slay. β¨uint32 timevalIntervalTo65536 (timeval &t)β Convert a time interval, expressed as atimeval, into a 32-bit time interval expressed in units of1/65536seconds. 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
- 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