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 <rtcpapppacket.h>
Public Member Functions | |
RTCPAPPPacket (uint8_t *data, std::size_t datalen) | |
~RTCPAPPPacket () | |
uint8_t | GetSubType () const |
uint32_t | GetSSRC () const |
uint8_t * | GetName () |
uint8_t * | GetAPPData () |
std::size_t | GetAPPDataLength () 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 Attributes | |
RTPEndian | m_endian |
std::size_t | appdatalen |
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 APP packet.
Definition at line 54 of file rtcpapppacket.h.
qrtplib::RTCPAPPPacket::RTCPAPPPacket | ( | 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 rtcpapppacket.cpp.
References appdatalen, qrtplib::RTCPPacket::knownformat, and qrtplib::RTCPCommonHeader::padding.
|
inline |
Definition at line 63 of file rtcpapppacket.h.
|
inline |
|
inline |
|
inline |
Returns the name contained in the APP packet. Returns the name contained in the APP packet. This alway consists of four bytes and is not NULL-terminated.
Definition at line 105 of file rtcpapppacket.h.
|
inline |
Returns the SSRC of the source which sent this packet.
Definition at line 96 of file rtcpapppacket.h.
|
inline |
Returns the subtype contained in the APP packet.
Definition at line 88 of file rtcpapppacket.h.
References qrtplib::RTCPCommonHeader::count.
|
private |
Definition at line 85 of file rtcpapppacket.h.
Referenced by RTCPAPPPacket().
|
private |
Definition at line 84 of file rtcpapppacket.h.