Bayonne2 / Common C++ 2 Framework
|
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 71 of file queuebase.h.
AppDataUnit::AppDataUnit | ( | const IncomingRTPPkt & | packet, |
const SyncSource & | src | ||
) |
|
inline |
Definition at line 76 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 145 of file queuebase.h.
|
inline |
Get the array of 32-bit CSRC identifiers.
Definition at line 154 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 108 of file queuebase.h.
|
inline |
Get data unit sequence number.
Definition at line 138 of file queuebase.h.
|
inline |
Definition at line 115 of file queuebase.h.
|
inline |
Definition at line 122 of file queuebase.h.
|
inline |
Definition at line 97 of file queuebase.h.
|
inline |
AppDataUnit& AppDataUnit::operator= | ( | const AppDataUnit & | source | ) |
Assignment operator.
source | the AppDataUnit object being assigned |
|
private |
Definition at line 158 of file queuebase.h.
|
private |
Definition at line 159 of file queuebase.h.