NAME
AppDataUnit - Interface (envelope) to data received over RTP packets.SYNOPSIS
#include <queuebase.h>Public Member Functions
AppDataUnit (const IncomingRTPPkt &packet, const SyncSource &src)
Detailed Description
Interface (envelope) to data received over RTP packets.Federico Montesino Pouzols
[email protected]
Examples:
audiorx.cpp, ccrtptest.cpp, rtpduphello.cpp, rtphello.cpp, and rtplisten.cpp.
Constructor & Destructor Documentation
AppDataUnit::AppDataUnit (const IncomingRTPPkt & packet, const SyncSource & src)
AppDataUnit::~AppDataUnit () [inline]
AppDataUnit::AppDataUnit (const AppDataUnit & src)
Parameters:
src the AppDataUnit object 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:NULL if (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, ccrtptest.cpp, rtpduphello.cpp, and rtphello.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, and rtplisten.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:true if marked.
AppDataUnit& AppDataUnit::operator= (const AppDataUnit & source)
Assignment operator. Parameters:
source the AppDataUnit object
being assigned
Returns:
the result of the assignment
Author
Generated automatically by Doxygen for ccRTP from the source code.Sat Oct 27 2018 | ccRTP |