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 <rtcpsrpacket.h>
Public Member Functions | |
RTCPSRPacket (uint8_t *data, std::size_t datalength) | |
~RTCPSRPacket () | |
uint32_t | GetSenderSSRC () const |
RTPNTPTime | GetNTPTimestamp () const |
uint32_t | GetRTPTimestamp () const |
uint32_t | GetSenderPacketCount () const |
uint32_t | GetSenderOctetCount () 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 sender report packet.
Definition at line 55 of file rtcpsrpacket.h.
qrtplib::RTCPSRPacket::RTCPSRPacket | ( | uint8_t * | data, |
std::size_t | datalength | ||
) |
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 rtcpsrpacket.cpp.
References qrtplib::RTCPCommonHeader::count, qrtplib::RTCPPacket::knownformat, and qrtplib::RTCPCommonHeader::padding.
|
inline |
Definition at line 64 of file rtcpsrpacket.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 242 of file rtcpsrpacket.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 218 of file rtcpsrpacket.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 198 of file rtcpsrpacket.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 226 of file rtcpsrpacket.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 206 of file rtcpsrpacket.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 234 of file rtcpsrpacket.h.
References qrtplib::RTCPReceiverReport::lsr.
Referenced by qrtplib::RTPSources::ProcessRTCPCompoundPacket().
|
inline |
Returns the NTP timestamp contained in the sender report.
Definition at line 143 of file rtcpsrpacket.h.
References qrtplib::RTCPSenderReport::ntptime_lsw, and qrtplib::RTCPSenderReport::ntptime_msw.
Referenced by qrtplib::RTPSources::ProcessRTCPCompoundPacket().
|
inline |
Returns the number of reception report blocks present in this packet.
Definition at line 176 of file rtcpsrpacket.h.
References qrtplib::RTCPCommonHeader::count.
Referenced by qrtplib::RTPSources::ProcessRTCPCompoundPacket().
|
inline |
Returns the RTP timestamp contained in the sender report.
Definition at line 152 of file rtcpsrpacket.h.
References qrtplib::RTCPSenderReport::rtptimestamp.
Referenced by qrtplib::RTPSources::ProcessRTCPCompoundPacket().
|
inline |
Returns the sender's octet count contained in the sender report.
Definition at line 168 of file rtcpsrpacket.h.
References qrtplib::RTCPSenderReport::octetcount.
Referenced by qrtplib::RTPSources::ProcessRTCPCompoundPacket().
|
inline |
Returns the sender's packet count contained in the sender report.
Definition at line 160 of file rtcpsrpacket.h.
References qrtplib::RTCPSenderReport::packetcount.
Referenced by qrtplib::RTPSources::ProcessRTCPCompoundPacket().
|
inline |
Returns the SSRC of the participant who sent this packet.
Definition at line 134 of file rtcpsrpacket.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 190 of file rtcpsrpacket.h.
References qrtplib::RTCPReceiverReport::ssrc.
Referenced by qrtplib::RTPSources::ProcessRTCPCompoundPacket().
|
inlineprivate |
Definition at line 184 of file rtcpsrpacket.h.
|
private |
Definition at line 131 of file rtcpsrpacket.h.