ccRTP
Classes | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Friends | List of all members
RTCPCompoundHandler Class Reference

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

#include <rtcppkt.h>

Inheritance diagram for RTCPCompoundHandler:
QueueRTCPManager AVPQueue TRTPSessionBase< RTPDataChannel, RTCPChannel, ServiceQueue > TRTPSessionBase< DualRTPUDPIPv4Channel, DualRTPUDPIPv4Channel, AVPQueue > SingleThreadRTPSession< RTPDataChannel, RTCPChannel, ServiceQueue >

Classes

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. Specific for H.261 sessions (see RFC 2032). More...
 
struct  NACKPacket
 Struct for Negative ACKnowledgements (NACK) RTCP packet. Specific for H.261 sessions (see RFC 2032). More...
 
struct  ReceiverInfo
 
struct  RecvReport
 raw structure of the source and every receiver report in an SR or RR RTCP packet. More...
 
struct  RRBlock
 
struct  RTCPFixedHeader
 
struct  RTCPPacket
 Struct representing general RTCP packet headers as they are sent through the network. More...
 
struct  SDESChunk
 
struct  SDESItem
 
struct  SenderInfo
 
struct  SendReport
 

Public Member Functions

void setPathMTU (uint16 mtu)
 
uint16 getPathMTU ()
 

Protected Types

enum  { defaultPathMTU = 1500 }
 

Protected Member Functions

 RTCPCompoundHandler (uint16 mtu=defaultPathMTU)
 
 ~RTCPCompoundHandler ()
 
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
 

Friends

class RTCPSenderInfo
 
class RTCPReceiverInfo
 

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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected
Enumerator
defaultPathMTU 

Constructor & Destructor Documentation

◆ RTCPCompoundHandler()

RTCPCompoundHandler::RTCPCompoundHandler ( uint16  mtu = defaultPathMTU)
protected

◆ ~RTCPCompoundHandler()

RTCPCompoundHandler::~RTCPCompoundHandler ( )
protected

Member Function Documentation

◆ checkCompoundRTCPHeader()

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
lenlength of the RTCP compound packet in the reception buffer
Returns
whether the header is valid.

◆ getPathMTU()

uint16 RTCPCompoundHandler::getPathMTU ( )
inline

◆ setPathMTU()

void RTCPCompoundHandler::setPathMTU ( uint16  mtu)
inline

Friends And Related Function Documentation

◆ RTCPReceiverInfo

friend class RTCPReceiverInfo
friend

◆ RTCPSenderInfo

friend class RTCPSenderInfo
friend

Member Data Documentation

◆ rtcpRecvBuffer

unsigned char* RTCPCompoundHandler::rtcpRecvBuffer
protected

◆ rtcpSendBuffer

unsigned char* RTCPCompoundHandler::rtcpSendBuffer
protected

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