AppDataUnit(3)
β¨ NAME β¨
AppDataUnit β Interface (envelope) to data received over RTP packets.
π SYNOPSIS π
#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 () constconst uint8 *const getData () constβ Get data as it is received in RTP packets (i.e.size_t getSize () constconst SyncSource & getSource () constbool 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.
π Detailed Description π
Interface (envelope) to data received over RTP packets.
A class of objects representing data transmitted over RTP packets. Tipically (their spelling, not mine π ), 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 fedemp@altern.org
π¦ Examples π¦
audiorx.cpp, ccrtptest.cpp, rtpduphello.cpp, rtphello.cpp, and rtplisten.cpp.
π§ Constructor & Destructor Documentation π§
AppDataUnit::AppDataUnit (const IncomingRTPPkt & packet, const SyncSource & src)
(that's the constructor bestie, no extra tea here π«)
AppDataUnit::~AppDataUnit () [inline]
(and that's the destructor, inline, doing its little cleanup era β¨)
AppDataUnit::AppDataUnit (const AppDataUnit & src)
Parameters
srcβ theAppDataUnitobject being copied
π₯ Member Function Documentation π₯
uint8 AppDataUnit::getContributorsCount () const [inline]
Get the number of contributing sources in the CSRC list.
const uint32 * AppDataUnit::getContributorsID () const [inline]
Get the array of 32-bit CSRC identifiers.
Returns
NULLif (getContributorsCount()==0)
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, andrtphello.cpp.
uint16 AppDataUnit::getSeqNum () const [inline]
Get data unit sequence number.
size_t AppDataUnit::getSize () const [inline]
Returns
- length of data in octets
Examples
audiorx.cpp, andrtplisten.cpp.
const SyncSource & AppDataUnit::getSource () const [inline]
Returns
- Source that sent this data
Examples
rtplisten.cpp.
PayloadType AppDataUnit::getType () const [inline]
Returns
- type of this data
Examples
rtplisten.cpp.
bool AppDataUnit::isMarked () const [inline]
Is this data unit marked?.
Returns
trueif marked.
AppDataUnit & AppDataUnit::operator= (const AppDataUnit & source)
Assignment operator.
Parameters
sourceβ theAppDataUnitobject being assigned
Returns
- the result of the assignment
π Author π
Generated automatically by Doxygen for ccRTP from the source code.
okay so that's the whole page, every flag and every method accounted for, no cap π this cutie lives in the ccRTP source, page AppDataUnit(3), and yeah, it was auto-generated by Doxygen for ccRTP from the source code β go read the source if you want the real lore, ily, bye bestie πβ¨π¦
π¦ where this page comes from
- debian trixie: libccrtp-doc 2.0.9-4.1 Β· GPL-2.0-or-later WITH MIF exception
- ubuntu noble: libccrtp-doc 2.0.9-2.5build1
- ubuntu questing: libccrtp-doc 2.0.9-4.1build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms