#include <SHRTPData.h>
Inheritance diagram for SH::SHRTPData:
Public Member Functions | |
SHRTPData (u_int32 timestamp, u_int16 extHdrType, MNRope *&extHdrPayload, SHPlainData *&data, struct timeval presTime, bool sync, bool consume_data) | |
SHRTPData (const uchar_t *data, size_t len, size_t hdrlen) | |
virtual | ~SHRTPData () |
virtual DataPtr | clone () |
virtual size_t | getByteSize () const |
u_int32 | getRTPTimestamp () |
u_int16 | getExtHdrType () |
MNRope * | getExtHdrPayload () |
SHPlainData * | get_payloadData_asPlainData () |
virtual bool | isPlainData () const |
virtual bool | isOrderedData () const |
virtual bool | isRTPData () const |
virtual bool | isDummyData () const |
virtual bool | isSHRTPData () const |
bool | hasBeenSynchronized () const |
timeval | getPT () const |
Static Public Attributes | |
const bool | Consume = true |
const bool | DontConsume = false |
Protected Attributes | |
u_int32 | _rtpTimestamp |
u_int16 | _extHdrType |
MNRope * | _extHdrPayload |
SHPlainData * | _payloadData |
|
Constructor, takes several RTP relevant data and creates the SHRTP information from it.
|
|
Constructor, a buffer and its length to create the RTP data packet. No useful implementation of this yet. |
|
Destructor |
|
Implements SH::Data.
|
|
Retrieve payload data as of type SHPlainData. Unlike similar extract functions in other classes derived from SH::Data, the payload data is not deleted in the class.
|
|
Required by SH::Data. Delivers only the size of the included payload data. Implements SH::Data.
|
|
Retrieve RTP Extension header contents. Unlike the get in MNRTPPacket, this function returns a MNRope instead of uchar_t*.
|
|
|
|
|
|
|
|
|
|
Implements SH::Data.
|
|
Implements SH::Data.
|
|
Implements SH::Data.
|
|
Implements SH::Data.
|
|
Implements SH::Data.
|
|
|
|
|
|
|
|
|
|
|
|
|