Interface (envelope) to data received over RTP packets.
More...
#include <queuebase.h>
Collaboration diagram for AppDataUnit:
Public Member Functions
const uint8 *const
getData () const
Get data as it is received in RTP packets (i.e.
More...
Get data unit sequence number.
More...
Get the number of contributing sources in the CSRC list.
More...
Get the array of 32-bit CSRC identifiers.
More...
Private Attributes
Detailed Description
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.
- Author
- Federico Montesino Pouzols fedem.nosp@m.p@al.nosp@m.tern..nosp@m.org
Definition at line 68 of file queuebase.h.
Constructor & Destructor Documentation
NAMESPACE_COMMONCPP AppDataUnit::AppDataUnit
(
const
IncomingRTPPkt &
packet,
)
AppDataUnit::~AppDataUnit
(
)
inline
- Parameters
-
Definition at line 54 of file data.cpp.
Member Function Documentation
uint8 AppDataUnit::getContributorsCount
(
)
const
inline
Get the number of contributing sources in the CSRC list.
Definition at line 142 of file queuebase.h.
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.
- Returns
- Raw pointer to data block.
Definition at line 105 of file queuebase.h.
uint16 AppDataUnit::getSeqNum
(
)
const
inline
Get data unit sequence number.
Definition at line 135 of file queuebase.h.
size_t AppDataUnit::getSize
(
)
const
inline
- Returns
- length of data in octets
Definition at line 112 of file queuebase.h.
const
SyncSource& AppDataUnit::getSource
(
)
const
inline
- Returns
- Source that sent this data
Definition at line 119 of file queuebase.h.
- Returns
- type of this data
Definition at line 94 of file queuebase.h.
bool AppDataUnit::isMarked
(
)
const
inline
Is this data unit marked?.
- Returns
- true if marked.
Definition at line 128 of file queuebase.h.
Assignment operator.
- Parameters
-
- Returns
- the result of the assignment
Definition at line 60 of file data.cpp.
Field Documentation
The documentation for this class was generated from the following files: