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 <rtcppacket.h>
Public Types | |
enum | PacketType { SR, RR, SDES, BYE, APP, Unknown } |
Public Member Functions | |
virtual | ~RTCPPacket () |
bool | IsKnownFormat () const |
PacketType | GetPacketType () const |
uint8_t * | GetPacketData () |
std::size_t | GetPacketLength () const |
Protected Member Functions | |
RTCPPacket (PacketType t, uint8_t *d, std::size_t dlen) | |
Protected Attributes | |
uint8_t * | data |
std::size_t | datalen |
bool | knownformat |
Private Attributes | |
const PacketType | packettype |
Base class for specific types of RTCP packets.
Definition at line 51 of file rtcppacket.h.
Identifies the specific kind of RTCP packet.
Definition at line 55 of file rtcppacket.h.
|
inlineprotected |
|
inlinevirtual |
Definition at line 71 of file rtcppacket.h.
|
inline |
Returns a pointer to the data of this RTCP packet.
Definition at line 88 of file rtcppacket.h.
References data.
|
inline |
Returns the length of this RTCP packet.
Definition at line 94 of file rtcppacket.h.
References datalen.
|
inline |
Returns the actual packet type which the subclass implements.
Definition at line 82 of file rtcppacket.h.
References packettype.
Referenced by qrtplib::RTCPScheduler::AnalyseIncoming(), qrtplib::RTCPScheduler::AnalyseOutgoing(), and qrtplib::RTPSources::ProcessRTCPCompoundPacket().
|
inline |
Returns true
if the subclass was able to interpret the data and false
otherwise.
Definition at line 76 of file rtcppacket.h.
References knownformat.
Referenced by qrtplib::RTPSources::ProcessRTCPCompoundPacket().
|
protected |
Definition at line 100 of file rtcppacket.h.
Referenced by GetPacketData().
|
protected |
Definition at line 101 of file rtcppacket.h.
Referenced by GetPacketLength().
|
protected |
Definition at line 102 of file rtcppacket.h.
Referenced by IsKnownFormat(), qrtplib::RTCPAPPPacket::RTCPAPPPacket(), qrtplib::RTCPBYEPacket::RTCPBYEPacket(), RTCPPacket(), qrtplib::RTCPRRPacket::RTCPRRPacket(), qrtplib::RTCPSDESPacket::RTCPSDESPacket(), qrtplib::RTCPSRPacket::RTCPSRPacket(), and qrtplib::RTCPUnknownPacket::RTCPUnknownPacket().
|
private |
Definition at line 104 of file rtcppacket.h.
Referenced by GetPacketType().