rtcppacket(3)

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

πŸ¦‹ rtcppacket πŸ¦‹

okay bestie, so this is a page from the Library Functions Manual, and the star of the show is rtcppacket β€” which is literally all about RTCP compound packets manipulation. yes, the whole vibe. let's get into it πŸ’…


✨ NAME ✨

rtcppacket β€” RTCP compound packets manipulation.

like, the entire job is handling those packets. that's it. that's the name. iconic.


🌸 SYNOPSIS 🌸

πŸ‘‘ Classes

  • class RTCPCompoundHandler β€” low level structs and RTCP packet parsing and building methods. (the workhorse fr fr)
  • 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.
enum SDESItemType { 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.
  • 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.

πŸ’œ Detailed Description

so like… yeah. this is the detailed description section. it's here. the details are, in fact, detailed. moving on bestie 🫢


πŸ”₯ Enumeration Type Documentation πŸ”₯

⭐ enum SDESItemType

SDES items that may be carried in a Source DEScription RTCP packet.

okay so listen β€” CNAME is mandatory in each RTCP compound packet (except when split for partial encryption). the others are optional and have different sending frequencies, though with recommended default values. so CNAME is the main character and everyone else is a supporting role, no cap.

Enumerator

  • SDESItemTypeEND β€” END of SDES item list.
  • SDESItemTypeCNAME β€” Canonical end-point identifier.
  • SDESItemTypeNAME β€” Personal NAME of the user.
  • SDESItemTypeEMAIL β€” EMAIL address of the user.
  • SDESItemTypePHONE β€” Phone number of the user.
  • SDESItemTypeLOC β€” Location where the user is.
  • SDESItemTypeTOOL β€” Application or tool.
  • SDESItemTypeNOTE β€” Comment usually reporting state.
  • SDESItemTypePRIV β€” Private extension.
  • SDESItemTypeH323CADDR β€” H323 callable address.
  • SDESItemTypeLast β€” Last defined code.

🌈 Function Documentation 🌈

πŸ“ timeval NTP2Timeval (uint32 msw, uint32 lsw)

Convert a NTP timestamp, expressed as two 32-bit long words, into a timeval value.

Parameters

  • msw β€” Integer part of NTP timestamp.
  • lsw β€” Fractional part of NTP timestamp.

Returns

timeval value corresponding to the given NTP timestamp.


πŸ¦‹ 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.

Parameters

  • t β€” Timeval interval.

Returns

32-bit value corresponding to the given timeval interval.


πŸŽ€ Author πŸŽ€

Generated automatically by Doxygen for ccRTP from the source code.


bestie if you made it this far you're literally built different πŸ’€βœ¨ go forth and manipulate those compound packets, the packets are NOT ready for you πŸ‘‘

and that's the whole page, periodt. this came to you from the ccRTP crew, on the rtcppacket(3) page β€” mwah, take care of her πŸ«ΆπŸ’–

πŸ“¦ where this page comes from