Interface (envelope) to data received over RTP packets.
More...
#include <queuebase.h>
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
- Examples
- audiorx.cpp, ccrtptest.cpp, rtpduphello.cpp, rtphello.cpp, and rtplisten.cpp.
◆ AppDataUnit() [1/2]
◆ ~AppDataUnit()
AppDataUnit::~AppDataUnit |
( |
| ) |
|
|
inline |
◆ AppDataUnit() [2/2]
◆ getContributorsCount()
uint8 AppDataUnit::getContributorsCount |
( |
| ) |
const |
|
inline |
Get the number of contributing sources in the CSRC list.
◆ getContributorsID()
const uint32 * AppDataUnit::getContributorsID |
( |
| ) |
const |
|
inline |
◆ getData()
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.
- Examples
- audiorx.cpp, rtpduphello.cpp, and rtphello.cpp.
◆ getSeqNum()
uint16 AppDataUnit::getSeqNum |
( |
| ) |
const |
|
inline |
Get data unit sequence number.
◆ getSize()
size_t AppDataUnit::getSize |
( |
| ) |
const |
|
inline |
◆ getSource()
const SyncSource & AppDataUnit::getSource |
( |
| ) |
const |
|
inline |
◆ getType()
◆ isMarked()
bool AppDataUnit::isMarked |
( |
| ) |
const |
|
inline |
Is this data unit marked?.
- Returns
- true if marked.
◆ operator=()
Assignment operator.
- Parameters
-
- Returns
- the result of the assignment
The documentation for this class was generated from the following file: