Bayonne2 / Common C++ 2 Framework
Data Structures | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Attributes | Static Private Attributes | Friends
RTCPCompoundHandler Class Reference
RTCP compound packets manipulation.

low level structs and RTCP packet parsing and building methods. More...

#include <rtcppkt.h>

Inheritance diagram for RTCPCompoundHandler:
Inheritance graph
[legend]
Collaboration diagram for RTCPCompoundHandler:
Collaboration graph
[legend]

Data Structures

struct   APPPacket
  Struct for APP (application specific) RTCP packets. More...
 
struct   BYEPacket
  Struct for BYE (leaving session) RTCP packets. More...
 
struct   FIRPacket
  Struct for Full Intra-frame Request (FIR) RTCP packet. More...
 
struct   NACKPacket
  Struct for Negative ACKnowledgements (NACK) RTCP packet. More...
 
struct   ReceiverInfo
  Struct for the data contained in a receiver info block. More...
 
struct   RecvReport
  raw structure of the source and every receiver report in an SR or RR RTCP packet. More...
 
struct   RRBlock
  Struct for a receiver info block in a SR (sender report) or an RR (receiver report) RTCP packet. More...
 
struct   RTCPFixedHeader
  Fixed RTCP packet header. More...
 
struct   RTCPPacket
  Struct representing general RTCP packet headers as they are sent through the network. More...
 
struct   SDESChunk
  Struct for a chunk of items in a SDES RTCP packet. More...
 
struct   SDESItem
  Struct for an item description of a SDES packet. More...
 
struct   SenderInfo
  Struct for the sender info block in a SR (sender report) RTCP packet. More...
 
struct   SendReport
  Struct for SR (sender report) RTCP packets. More...
 

Public Member Functions

void  setPathMTU (uint16 mtu)
 
uint16  getPathMTU ()
 

Protected Types

enum   { defaultPathMTU = 1500 }
 

Protected Member Functions

 
 
bool  checkCompoundRTCPHeader (size_t len)
  Perform RTCP compound packet header validity check as specified in draft-ietv-avt-rtp-new. More...
 

Protected Attributes

unsigned char *  rtcpSendBuffer
 
unsigned char *  rtcpRecvBuffer
 

Private Attributes

uint16  pathMTU
 

Static Private Attributes

static const uint16  RTCP_VALID_MASK
 
static const uint16  RTCP_VALID_VALUE
 

Friends

class  RTCPSenderInfo
 
 

Detailed Description

low level structs and RTCP packet parsing and building methods.

Intended to be used, through inheritance, in RTCP management classes, such as QueueRTCPManager.

Author
Federico Montesino Pouzols fedem.nosp@m.p@al.nosp@m.tern..nosp@m.org

Definition at line 92 of file rtcppkt.h.

Member Enumeration Documentation

anonymous enum
protected
Enumerator
defaultPathMTU 

Definition at line 333 of file rtcppkt.h.

Constructor & Destructor Documentation

RTCPCompoundHandler::RTCPCompoundHandler ( uint16  mtu = defaultPathMTU )
protected
RTCPCompoundHandler::~RTCPCompoundHandler ( )
protected

Member Function Documentation

bool RTCPCompoundHandler::checkCompoundRTCPHeader ( size_t  len )
protected

Perform RTCP compound packet header validity check as specified in draft-ietv-avt-rtp-new.

This method follows appendix A.2. Correct version, payload type, padding bit and length of every RTCP packet in the compound are verified.

Parameters
len length of the RTCP compound packet in the reception buffer
Returns
whether the header is valid.
uint16 RTCPCompoundHandler::getPathMTU ( )
inline

Definition at line 98 of file rtcppkt.h.

void RTCPCompoundHandler::setPathMTU ( uint16  mtu )
inline

Definition at line 95 of file rtcppkt.h.

Friends And Related Function Documentation

friend class RTCPReceiverInfo
friend

Definition at line 361 of file rtcppkt.h.

friend class RTCPSenderInfo
friend

Definition at line 360 of file rtcppkt.h.

Field Documentation

uint16 RTCPCompoundHandler::pathMTU
private

Definition at line 364 of file rtcppkt.h.

const uint16 RTCPCompoundHandler::RTCP_VALID_MASK
staticprivate

Definition at line 366 of file rtcppkt.h.

const uint16 RTCPCompoundHandler::RTCP_VALID_VALUE
staticprivate

Definition at line 367 of file rtcppkt.h.

unsigned char* RTCPCompoundHandler::rtcpRecvBuffer
protected

Definition at line 358 of file rtcppkt.h.

unsigned char* RTCPCompoundHandler::rtcpSendBuffer
protected

Definition at line 355 of file rtcppkt.h.


The documentation for this class was generated from the following file:

Generated on Dec 21, 2017 for commoncpp2-1.8.1, ccrtp-1.7.2, libzrtpcpp-2.3.4, ccscript3-1.1.7, ccaudio2-1.0.0 and bayonne2-2.3.2 (after installation in /usr/local/) by   doxygen 1.8.6

AltStyle によって変換されたページ (->オリジナル) /