Bayonne2 / Common C++ 2 Framework
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Data Fields
RTCPCompoundHandler::RTCPPacket Struct Reference

Struct representing general RTCP packet headers as they are sent through the network. More...

#include <rtcppkt.h>

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

Public Types

enum  Type {
  tSR = 200, tRR, tSDES, tBYE,
  tAPP, tFIR = 192, tNACK = 193, tXR
}
 rtp.h cc++/rtp.h More...
 

Public Member Functions

uint32 getLength () const
 Get the packet length specified in its header, in octets and in host order. More...
 
uint32 getSSRC () const
 Get the SSRC identifier specified in the packet header, in host order. More...
 

Data Fields

RTCPFixedHeader fh
 Fixed RTCP header. More...
 
union {
   SendReport   SR
 
   RecvReport   RR
 
   SDESChunk   SDES
 
   BYEPacket   BYE
 
   APPPacket   APP
 
   NACKPacket   NACK
 
   FIRPacket   FIR
 
info
 Union for SR, RR, SDES, BYE and APP. More...
 

Detailed Description

Struct representing general RTCP packet headers as they are sent through the network.

This struct consists of a fixed header, always at the beginning of any RTCP packet, and a union for all the RTCP packet types supported.

Definition at line 280 of file rtcppkt.h.

Member Enumeration Documentation

rtp.h cc++/rtp.h

RTCP packet types. They are registered with IANA.

Enumerator
tSR 

Sender Report.

tRR 

Receiver Report.

tSDES 

Source DEScription.

tBYE 

End of participation.

tAPP 

APPlication specific.

tFIR 

Full Intra-frame request.

tNACK 

Negative ACK.

tXR 

Extended Report.

Definition at line 287 of file rtcppkt.h.

Member Function Documentation

uint32 RTCPCompoundHandler::RTCPPacket::getLength ( ) const
inline

Get the packet length specified in its header, in octets and in host order.

Definition at line 302 of file rtcppkt.h.

uint32 RTCPCompoundHandler::RTCPPacket::getSSRC ( ) const
inline

Get the SSRC identifier specified in the packet header, in host order.

Definition at line 309 of file rtcppkt.h.

Field Documentation

APPPacket RTCPCompoundHandler::RTCPPacket::APP

Definition at line 323 of file rtcppkt.h.

BYEPacket RTCPCompoundHandler::RTCPPacket::BYE

Definition at line 322 of file rtcppkt.h.

RTCPFixedHeader RTCPCompoundHandler::RTCPPacket::fh

Fixed RTCP header.

Definition at line 313 of file rtcppkt.h.

FIRPacket RTCPCompoundHandler::RTCPPacket::FIR

Definition at line 325 of file rtcppkt.h.

union { ... } RTCPCompoundHandler::RTCPPacket::info

Union for SR, RR, SDES, BYE and APP.

NACKPacket RTCPCompoundHandler::RTCPPacket::NACK

Definition at line 324 of file rtcppkt.h.

RecvReport RTCPCompoundHandler::RTCPPacket::RR

Definition at line 320 of file rtcppkt.h.

SDESChunk RTCPCompoundHandler::RTCPPacket::SDES

Definition at line 321 of file rtcppkt.h.

SendReport RTCPCompoundHandler::RTCPPacket::SR

Definition at line 319 of file rtcppkt.h.


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