#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. | |
PayloadType | getType () const |
const uint8 *const | getData () const |
Get data as it is received in RTP packets (i.e. | |
size_t | getSize () const |
const SyncSource & | getSource () const |
bool | isMarked () const |
Is this data unit marked?. | |
uint16 | getSeqNum () const |
Get data unit sequence number. | |
uint8 | getContributorsCount () const |
Get the number of contributing sources in the CSRC list. | |
const uint32 * | getContributorsID () const |
Get the array of 32-bit CSRC identifiers. |
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.
audiorx.cpp, ccrtptest.cpp, rtpduphello.cpp, rtphello.cpp, and rtplisten.cpp.
AppDataUnit::AppDataUnit | ( | const IncomingRTPPkt & | packet, | |
const SyncSource & | src | |||
) |
AppDataUnit::~AppDataUnit | ( | ) | [inline] |
AppDataUnit::AppDataUnit | ( | const AppDataUnit & | src | ) |
src | the AppDataUnit object being copied |
uint8 AppDataUnit::getContributorsCount | ( | ) | const [inline] |
Get the number of contributing sources in the CSRC list.
const uint32* AppDataUnit::getContributorsID | ( | ) | const [inline] |
const uint8* const AppDataUnit::getData | ( | ) | const [inline] |
Get data as it is received in RTP packets (i.e.
for multi-octet encodings, octets are in network order.
uint16 AppDataUnit::getSeqNum | ( | ) | const [inline] |
Get data unit sequence number.
size_t AppDataUnit::getSize | ( | ) | const [inline] |
const SyncSource& AppDataUnit::getSource | ( | ) | const [inline] |
PayloadType AppDataUnit::getType | ( | ) | const [inline] |
bool AppDataUnit::isMarked | ( | ) | const [inline] |
Is this data unit marked?.
AppDataUnit& AppDataUnit::operator= | ( | const AppDataUnit & | source | ) |
Assignment operator.
source | the AppDataUnit object being assigned |