INET Framework for OMNeT++/OMNEST
|
This class represents an RTP data packet. More...
#include <RTPPacket.h>
Public Member Functions | |
RTPPacket (const char *name=nullptr, int kind=0) | |
RTPPacket (const RTPPacket &other) | |
RTPPacket & | operator= (const RTPPacket &other) |
virtual RTPPacket * | dup () const override |
virtual std::string | info () const override |
Writes a one line info about this RTPPacket into the given string. More... | |
virtual void | dump () const |
Writes a longer description about this RTPPacket into the given stream. More... | |
virtual int | getHeaderLength () const override |
Returns the length of the header (fixed plus variable part) of this RTPPacket. More... | |
virtual void | setHeaderLength (int x) override |
virtual int | getPayloadLength () const override |
Returns the size of the payload stored in this RTPPacket. More... | |
virtual void | setPayloadLength (int x) override |
Public Member Functions inherited from inet::rtp::RTPPacket_Base | |
virtual | ~RTPPacket_Base () |
virtual void | parsimPack (omnetpp::cCommBuffer *b) const override |
virtual void | parsimUnpack (omnetpp::cCommBuffer *b) override |
virtual uint8_t | getVersion () const |
virtual void | setVersion (uint8_t version) |
virtual bool | getPadding () const |
virtual void | setPadding (bool padding) |
virtual bool | getExtension () const |
virtual void | setExtension (bool extension) |
virtual bool | getMarker () const |
virtual void | setMarker (bool marker) |
virtual int8_t | getPayloadType () const |
virtual void | setPayloadType (int8_t payloadType) |
virtual uint16_t | getSequenceNumber () const |
virtual void | setSequenceNumber (uint16_t sequenceNumber) |
virtual uint32_t | getTimeStamp () const |
virtual void | setTimeStamp (uint32_t timeStamp) |
virtual uint32_t | getSsrc () const |
virtual void | setSsrc (uint32_t ssrc) |
virtual void | setCsrcArraySize (unsigned int size) |
virtual unsigned int | getCsrcArraySize () const |
virtual uint32_t | getCsrc (unsigned int k) const |
virtual void | setCsrc (unsigned int k, uint32_t csrc) |
Additional Inherited Members | |
Protected Member Functions inherited from inet::rtp::RTPPacket_Base | |
bool | operator== (const RTPPacket_Base &) |
RTPPacket_Base (const char *name=nullptr, short kind=0) | |
RTPPacket_Base (const RTPPacket_Base &other) | |
RTPPacket_Base & | operator= (const RTPPacket_Base &other) |
Protected Attributes inherited from inet::rtp::RTPPacket_Base | |
uint8_t | version |
bool | padding |
bool | extension |
bool | marker |
int8_t | payloadType |
uint16_t | sequenceNumber |
uint32_t | timeStamp |
uint32_t | ssrc |
uint32_t * | csrc |
unsigned int | csrc_arraysize |
This class represents an RTP data packet.
Real data can either be encapsulated or simulated by adding length. Following RTP header fields exist but aren't used: padding, extension, csrcCount. The csrcList can't be used because csrcCount is always 0.
|
inline |
|
inline |
|
virtual |
Writes a longer description about this RTPPacket into the given stream.
Referenced by inet::rtp::RTP::readRet().
|
inlineoverridevirtual |
Reimplemented from inet::rtp::RTPPacket_Base.
|
overridevirtual |
Returns the length of the header (fixed plus variable part) of this RTPPacket.
Implements inet::rtp::RTPPacket_Base.
Referenced by getPayloadLength().
|
overridevirtual |
Returns the size of the payload stored in this RTPPacket.
Implements inet::rtp::RTPPacket_Base.
Referenced by dump(), info(), and inet::rtp::RTPSenderInfo::processRTPPacket().
|
overridevirtual |
Writes a one line info about this RTPPacket into the given string.
|
inlineoverridevirtual |
Implements inet::rtp::RTPPacket_Base.
|
inlineoverridevirtual |
Implements inet::rtp::RTPPacket_Base.