#include <RTPPacket.h>
Public Member Functions | |
RTPPacket (const char *name=NULL) | |
RTPPacket (const RTPPacket &packet) | |
virtual | ~RTPPacket () |
RTPPacket & | operator= (const RTPPacket &packet) |
virtual cObject * | dup () const |
virtual const char * | className () const |
virtual void | info (char *buf) |
virtual void | writeContents (ostream &os) |
virtual int | marker () |
virtual void | setMarker (int marker) |
virtual int | payloadType () |
virtual void | setPayloadType (int payloadType) |
virtual u_int16 | sequenceNumber () |
virtual void | setSequenceNumber (u_int16 sequenceNumber) |
virtual u_int32 | timeStamp () |
virtual void | setTimeStamp (u_int32 timeStamp) |
virtual u_int32 | ssrc () |
virtual void | setSSRC (u_int32 ssrc) |
virtual int | headerLength () |
virtual int | payloadLength () |
Static Public Member Functions | |
static int | fixedHeaderLength () |
static int | compareFunction (cObject *packet1, cObject *packet2) |
Protected Attributes | |
int | _version |
int | _padding |
int | _extension |
int | _csrcCount |
int | _marker |
int | _payloadType |
u_int16 | _sequenceNumber |
u_int32 | _timeStamp |
u_int32 | _ssrc |
|
Default constructor. |
|
Copy constructor. |
|
Destructor. |
|
Returns the class name "RTPPacket". |
|
Compares two RTPPacket objects by comparing their sequence numbers. |
|
Duplicates the RTPPacket by calling the copy constructor. |
|
Returns the length of the fixed header of an RTPPacket. |
|
Returns the length of the header (fixed plus variable part) of this RTPPacket. |
|
Writes a one line info about this RTPPacket into the given string. |
|
Returns the value of the marker bit in this RTPPacket. |
|
Assignment operator. |
|
Returns the size of the payload stored in this RTPPacket. |
|
Returns the payload type of this RTPPacket. |
|
Returns the sequence number of this RTPPacket. |
|
Sets the value of the marker bit in this RTPPacket. |
|
Sets the payload type of this RTPPacket. |
|
Sets the sequence number of this RTPPacket. |
|
Sets the ssrc identifier of this RTPPacket. |
|
Sets the rtp time stamp of this RTPPacket. |
|
Returns the ssrc identifier of this RTPPacket. |
|
Returns the rtp time stamp of this RTPPacket. |
|
Writes a longer description about this RTPPacket into the given stream. |
|
Stores the number (0..31) of contributing sources for this RTPPacket. It is always 0 because contributing sources are added by rtp mixers which aren't implemented. |
|
Set to 1, if this RTPPacket contains an rtp header extension, 0 otherwise. This implementation doesn't support rtp header extensions, so it is always 0. |
|
The marker of this RTPPacket. |
|
Set to 1 if padding is used in this RTPPacket, 0 otherwise. This implementation doesn't use padding bytes, so it is always 0. |
|
The type of payload carried in this RTPPacket. |
|
The sequence number of this RTPPacket. |
|
The ssrc identifier of the creator of this RTPPacket. |
|
The rtp time stamp of this RTPPacket. |
|
The rtp version of this RTPPacket. |