JRTPLIB  3.9.0
Public Types | Public Member Functions | List of all members
jrtplib::RTCPPacket Class Reference

Base class for specific types of RTCP packets. More...

#include <rtcppacket.h>

Inheritance diagram for jrtplib::RTCPPacket:
Inheritance graph
[legend]

Public Types

enum  PacketType {
  SR, RR, SDES, BYE,
  APP, Unknown
}
 Identifies the specific kind of RTCP packet. More...
 

Public Member Functions

bool IsKnownFormat () const
 Returns true if the subclass was able to interpret the data and false otherwise. More...
 
PacketType GetPacketType () const
 Returns the actual packet type which the subclass implements. More...
 
uint8_t * GetPacketData ()
 Returns a pointer to the data of this RTCP packet. More...
 
size_t GetPacketLength () const
 Returns the length of this RTCP packet. More...
 

Detailed Description

Member Enumeration Documentation

Enumerator
SR 

An RTCP sender report.

RR 

An RTCP receiver report.

SDES 

An RTCP source description packet.

BYE 

An RTCP bye packet.

APP 

An RTCP packet containing application specific data.

Unknown 

The type of RTCP packet was not recognized.

Member Function Documentation

uint8_t* jrtplib::RTCPPacket::GetPacketData ( )
inline
size_t jrtplib::RTCPPacket::GetPacketLength ( ) const
inline
PacketType jrtplib::RTCPPacket::GetPacketType ( ) const
inline
bool jrtplib::RTCPPacket::IsKnownFormat ( ) const
inline

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