RTCPPacket Class Reference

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

#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.


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

bool RTCPPacket::IsKnownFormat (  )  const [inline]

PacketType RTCPPacket::GetPacketType (  )  const [inline]

uint8_t* RTCPPacket::GetPacketData (  )  [inline]

size_t RTCPPacket::GetPacketLength (  )  const [inline]


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

Generated on Sun Sep 28 19:25:15 2008 for jrtplib by  doxygen 1.5.6