SDRAngel
4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
|
#include <rtcprrpacket.h>
Public Member Functions | |
RTCPRRPacket (uint8_t *data, std::size_t datalen) | |
~RTCPRRPacket () | |
uint32_t | GetSenderSSRC () const |
int | GetReceptionReportCount () const |
uint32_t | GetSSRC (int index) const |
uint8_t | GetFractionLost (int index) const |
int32_t | GetLostPacketCount (int index) const |
uint32_t | GetExtendedHighestSequenceNumber (int index) const |
uint32_t | GetJitter (int index) const |
uint32_t | GetLSR (int index) const |
uint32_t | GetDLSR (int index) const |
Public Member Functions inherited from qrtplib::RTCPPacket | |
virtual | ~RTCPPacket () |
bool | IsKnownFormat () const |
PacketType | GetPacketType () const |
uint8_t * | GetPacketData () |
std::size_t | GetPacketLength () const |
Private Member Functions | |
RTCPReceiverReport * | GotoReport (int index) const |
Private Attributes | |
RTPEndian | m_endian |
Additional Inherited Members | |
Public Types inherited from qrtplib::RTCPPacket | |
enum | PacketType { SR, RR, SDES, BYE, APP, Unknown } |
Protected Member Functions inherited from qrtplib::RTCPPacket | |
RTCPPacket (PacketType t, uint8_t *d, std::size_t dlen) | |
Protected Attributes inherited from qrtplib::RTCPPacket | |
uint8_t * | data |
std::size_t | datalen |
bool | knownformat |
Describes an RTCP receiver report packet.
Definition at line 54 of file rtcprrpacket.h.
qrtplib::RTCPRRPacket::RTCPRRPacket | ( | uint8_t * | data, |
std::size_t | datalen | ||
) |
Creates an instance based on the data in data
with length 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.
Definition at line 38 of file rtcprrpacket.cpp.
References qrtplib::RTCPCommonHeader::count, qrtplib::RTCPPacket::knownformat, and qrtplib::RTCPCommonHeader::padding.
|
inline |
Definition at line 63 of file rtcprrpacket.h.
|
inline |
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).
Definition at line 195 of file rtcprrpacket.h.
References qrtplib::RTCPReceiverReport::dlsr.
Referenced by qrtplib::RTPSources::ProcessRTCPCompoundPacket().
|
inline |
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).
Definition at line 171 of file rtcprrpacket.h.
References qrtplib::RTCPReceiverReport::exthighseqnr.
Referenced by qrtplib::RTPSources::ProcessRTCPCompoundPacket().
|
inline |
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).
Definition at line 151 of file rtcprrpacket.h.
References qrtplib::RTCPReceiverReport::fractionlost.
Referenced by qrtplib::RTPSources::ProcessRTCPCompoundPacket().
|
inline |
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).
Definition at line 179 of file rtcprrpacket.h.
References qrtplib::RTCPReceiverReport::jitter.
Referenced by qrtplib::RTPSources::ProcessRTCPCompoundPacket().
|
inline |
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).
Definition at line 159 of file rtcprrpacket.h.
References qrtplib::RTCPReceiverReport::packetslost.
Referenced by qrtplib::RTPSources::ProcessRTCPCompoundPacket().
|
inline |
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).
Definition at line 187 of file rtcprrpacket.h.
References qrtplib::RTCPReceiverReport::lsr.
Referenced by qrtplib::RTPSources::ProcessRTCPCompoundPacket().
|
inline |
Returns the number of reception report blocks present in this packet.
Definition at line 129 of file rtcprrpacket.h.
References qrtplib::RTCPCommonHeader::count.
Referenced by qrtplib::RTPSources::ProcessRTCPCompoundPacket().
|
inline |
Returns the SSRC of the participant who sent this packet.
Definition at line 121 of file rtcprrpacket.h.
Referenced by qrtplib::RTPSources::ProcessRTCPCompoundPacket().
|
inline |
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).
Definition at line 143 of file rtcprrpacket.h.
References qrtplib::RTCPReceiverReport::ssrc.
Referenced by qrtplib::RTPSources::ProcessRTCPCompoundPacket().
|
inlineprivate |
Definition at line 137 of file rtcprrpacket.h.
|
private |
Definition at line 118 of file rtcprrpacket.h.