RTCPPacket Class Reference

Base class for specific types of RTCP packets.

#include <rtcppacket.h>

Inheritance diagram for RTCPPacket:

Inheritance graph
[legend]
List of all members.

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

enum RTCPPacket::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:
Generated on Thu Feb 8 16:22:21 2007 for jrtplib by  doxygen 1.5.1