rtp.h(3)

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

πŸ’– rtp.h β€” the ccRTP RTP interface, bestie edition πŸ’–

okay so this is rtp.h(3), a page from the Library Functions Manual, and it's basically the group chat between ccRTP and your app when you wanna do RTP. sit down, hydrate, let's get into it 🫢


✨ NAME ✨

rtp.h β€” the generic and audio/video profile specific RTP interface of ccRTP. yes that's the whole name. short, sweet, iconic πŸ‘‘


✨ SYNOPSIS ✨

first things first, you gotta pull in the headers, no cap:

#include <ccrtp/cqueue.h>
#include <ccrtp/channel.h>

🌸 Classes 🌸

  • class TRTPSessionBase< RTPDataChannel, RTCPChannel, ServiceQueue > β€” the base template doing base template things πŸ’…
  • class SingleThreadRTPSession< RTPDataChannel, RTCPChannel, ServiceQueue > β€” this template class adds the threading aspect to the RTPSessionBase template in one of the many possible ways. one of many ways, she's flexible like that ✨

πŸ¦‹ Typedefs πŸ¦‹

  • typedef SingleThreadRTPSession RTPSession β€” Uses two pairs of sockets for RTP data and RTCP transmission/reception. two pairs. she's got options πŸŽ€
  • typedef RTPSession RTPSocket β€” Alias for RTPSession. just another name for the same girl, periodt πŸ’…
  • typedef SingleThreadRTPSession< SymmetricRTPChannel, SymmetricRTPChannel > SymmetricRTPSession β€” Uses one pair of sockets, (1) for RTP data and (2) for RTCP transmission/reception. one pair only, minimal, clean, slay 🌈

✨ DETAILED DESCRIPTION ✨

Generic and audio/video profile specific RTP interface of ccRTP.

the classes and types in this header provide general RTP functionality (following RFC 3550) as well as audio/video RTP profile specific functionality (following RFC 3551). so like, the whole RTP buffet, both the generic plate and the audio/video profile plate, and honestly? she ate πŸ”₯

quick vibe check: RFC 3550 = the general RTP thing, RFC 3551 = the audio/video profile thing. both are in this header, iykyk 🧚

✨ AUTHOR ✨

Generated automatically by Doxygen for ccRTP from the source code. not a human, just a robot doing her best πŸ˜­πŸ’–


and that's the whole page bestie, no notes. shoutout to ccRTP for being the source/version behind this whole thing, and to the rtp.h(3) page for existing in the Library Functions Manual πŸ’œ mwah, go read the other pages, ily πŸŽ€

πŸ“¦ where this page comes from