RTCPRRPacket Class Reference

Describes an RTCP receiver report packet.

#include <rtcprrpacket.h>

Inheritance diagram for RTCPRRPacket:

Inheritance graph
[legend]
Collaboration diagram for RTCPRRPacket:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RTCPRRPacket (uint8_t *data, size_t datalen)
 Creates an instance based on the data in data with length datalen.
uint32_t GetSenderSSRC () const
 Returns the SSRC of the participant who sent this packet.
int GetReceptionReportCount () const
 Returns the number of reception report blocks present in this packet.
uint32_t GetSSRC (int index) const
 Returns the SSRC of the reception report block described by index which may have a value from 0 to GetReceptionReportCount()-1 (note that no check is performed to see if index is valid).
uint8_t GetFractionLost (int index) const
 Returns the `fraction lost' field of the reception report described by index which may have a value from 0 to GetReceptionReportCount()-1 (note that no check is performed to see if index is valid).
int32_t GetLostPacketCount (int index) const
 Returns the number of lost packets in the reception report block described by index which may have a value from 0 to GetReceptionReportCount()-1 (note that no check is performed to see if index is valid).
uint32_t GetExtendedHighestSequenceNumber (int index) const
 Returns the extended highest sequence number of the reception report block described by index which may have a value from 0 to GetReceptionReportCount()-1 (note that no check is performed to see if index is valid).
uint32_t GetJitter (int index) const
 Returns the jitter field of the reception report block described by index which may have a value from 0 to GetReceptionReportCount()-1 (note that no check is performed to see if index is valid).
uint32_t GetLSR (int index) const
 Returns the LSR field of the reception report block described by index which may have a value from 0 to GetReceptionReportCount()-1 (note that no check is performed to see if index is valid).
uint32_t GetDLSR (int index) const
 Returns the DLSR field of the reception report block described by index which may have a value from 0 to GetReceptionReportCount()-1 (note that no check is performed to see if index is valid).

Constructor & Destructor Documentation

RTCPRRPacket::RTCPRRPacket ( uint8_t *  data,
size_t  datalen 
)

Creates an instance based on the data in data with length datalen. Since the data pointer is referenced inside the class (no copy of the data is made) one must make sure that the memory it points to is valid as long as the class instance exists.


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