ccRTP 2.1.2
|
Interface (envelope) to data received over RTP packets. More...
#include <queuebase.h>
Public Member Functions | |
AppDataUnit (const IncomingRTPPkt &packet, const SyncSource &src) | |
~AppDataUnit () | |
AppDataUnit (const AppDataUnit &src) | |
AppDataUnit & | operator= (const AppDataUnit &source) |
Assignment operator. More... | |
PayloadType | getType () const |
const uint8 *const | getData () const |
Get data as it is received in RTP packets (i.e. More... | |
size_t | getSize () const |
const SyncSource & | getSource () const |
bool | isMarked () const |
Is this data unit marked?. More... | |
uint16 | getSeqNum () const |
Get data unit sequence number. More... | |
uint8 | getContributorsCount () const |
Get the number of contributing sources in the CSRC list. More... | |
const uint32 * | getContributorsID () const |
Get the array of 32-bit CSRC identifiers. More... | |
Private Attributes | |
Pointer< const IncomingRTPPkt > | datablock |
const SyncSource * | source |
Interface (envelope) to data received over RTP packets.
A class of objects representing data transmitted over RTP packets. Tipically, this object will apply to received data. Data blocks received via RTP connections as well as its related objects (source, etc), are accessed through the methods of this class.
Definition at line 68 of file queuebase.h.
NAMESPACE_COMMONCPP AppDataUnit::AppDataUnit | ( | const IncomingRTPPkt & | packet, |
const SyncSource & | src | ||
) |
|
inline |
Definition at line 73 of file queuebase.h.
AppDataUnit::AppDataUnit | ( | const AppDataUnit & | src | ) |
src | the AppDataUnit object being copied |
|
inline |
Get the number of contributing sources in the CSRC list.
Definition at line 142 of file queuebase.h.
|
inline |
Get the array of 32-bit CSRC identifiers.
Definition at line 151 of file queuebase.h.
|
inline |
Get data as it is received in RTP packets (i.e.
for multi-octet encodings, octets are in network order.
Definition at line 105 of file queuebase.h.
|
inline |
Get data unit sequence number.
Definition at line 135 of file queuebase.h.
|
inline |
Definition at line 112 of file queuebase.h.
|
inline |
Definition at line 119 of file queuebase.h.
|
inline |
Definition at line 94 of file queuebase.h.
|
inline |
AppDataUnit & AppDataUnit::operator= | ( | const AppDataUnit & | source | ) |
Assignment operator.
source | the AppDataUnit object being assigned |
|
private |
Definition at line 155 of file queuebase.h.
|
private |
Definition at line 156 of file queuebase.h.