RTCPSRPacket Class Reference

Describes an RTCP sender report packet.

#include <rtcpsrpacket.h>

Inheritance diagram for RTCPSRPacket:

Inheritance graph
[legend]
Collaboration diagram for RTCPSRPacket:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RTCPSRPacket (uint8_t *data, size_t datalength)
 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.
RTPNTPTime GetNTPTimestamp () const
 Returns the NTP timestamp contained in the sender report.
uint32_t GetRTPTimestamp () const
 Returns the RTP timestamp contained in the sender report.
uint32_t GetSenderPacketCount () const
 Returns the sender's packet count contained in the sender report.
uint32_t GetSenderOctetCount () const
 Returns the sender's octet count contained in the sender report.
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

RTCPSRPacket::RTCPSRPacket ( uint8_t *  data,
size_t  datalength 
)

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:22 2007 for jrtplib by  doxygen 1.5.1