JRTPLIB  3.11.2 (development version)
Public Types | Public Member Functions | List of all members
jrtplib::RTCPPacket Class Reference

Base class for specific types of RTCP packets.

#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.
 
PacketType GetPacketType () const
 Returns the actual packet type which the subclass implements.
 
uint8_t * GetPacketData ()
 Returns a pointer to the data of this RTCP packet.
 
size_t GetPacketLength () const
 Returns the length of this RTCP packet.
 

Member Enumeration Documentation

◆ PacketType

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.


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