jrtplib
3.7.1
|
Describes an RTCP APP packet. More...
#include <rtcpapppacket.h>
Public Member Functions | |
RTCPAPPPacket (uint8_t *data, size_t datalen) | |
Creates an instance based on the data in data with length datalen . More... | |
uint8_t | GetSubType () const |
Returns the subtype contained in the APP packet. More... | |
uint32_t | GetSSRC () const |
Returns the SSRC of the source which sent this packet. More... | |
uint8_t * | GetName () |
Returns the name contained in the APP packet. More... | |
uint8_t * | GetAPPData () |
Returns a pointer to the actual data. More... | |
size_t | GetAPPDataLength () const |
Returns the length of the actual data. More... | |
Public Member Functions inherited from RTCPPacket | |
bool | IsKnownFormat () const |
Returns true if the subclass was able to interpret the data and false otherwise. More... | |
PacketType | GetPacketType () const |
Returns the actual packet type which the subclass implements. More... | |
uint8_t * | GetPacketData () |
Returns a pointer to the data of this RTCP packet. More... | |
size_t | GetPacketLength () const |
Returns the length of this RTCP packet. More... | |
Additional Inherited Members | |
Public Types inherited from RTCPPacket | |
enum | PacketType { SR, RR, SDES, BYE, APP, Unknown } |
Identifies the specific kind of RTCP packet. More... | |
RTCPAPPPacket::RTCPAPPPacket | ( | uint8_t * | data, |
size_t | 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.
|
inline |
|
inline |
|
inline |
Returns the name contained in the APP packet. This alway consists of four bytes and is not NULL-terminated.
|
inline |
|
inline |