|
JRTPLIB
3.11.2 (development version)
|
Describes an RTCP sender report packet.
#include <rtcpsrpacket.h>


Public Member Functions | |
| RTCPSRPacket (uint8_t *data, size_t datalength) | |
Creates an instance based on the data in data with length datalen. More... | |
| 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). | |
Public Member Functions inherited from jrtplib::RTCPPacket | |
| 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. | |
Additional Inherited Members | |
Public Types inherited from jrtplib::RTCPPacket | |
| enum | PacketType { SR , RR , SDES , BYE , APP , Unknown } |
| Identifies the specific kind of RTCP packet. More... | |
| jrtplib::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.