class RtcpPacket

Compound RTCP control packet

Public Methods

int allocData(int newSize)
Increases packet memory usage by newSize. Returns newSize
char* freeData()
Pointer to beginning of free mememory of packet
int getCount()
int getLength()
int getPacketAlloc()
Total mem allocated in packet
char* getPacketData()
Pointer to beginning of memory of packet
int getPadbyteFlag()
RtcpType getPayloadType()
int getTotalUsage()
Total unused memory in packet
int getUnused()
Unused memory in payload area
int getVersion()
void printPacket()
debug
RtcpPacket()
void setTotalUsage(int size)
Sets total unused memory in packet
~RtcpPacket()

Private Fields

int packetAlloc
Allocated raw packet memory size
char* packetData
Pointer to raw packet memory
static const int PACKETSIZE
Default RTCP packet size
int unusedSize
Amount of unused packet memory

Documentation

Compound RTCP control packet
RtcpPacket()

~RtcpPacket()

char* getPacketData()
Pointer to beginning of memory of packet

char* freeData()
Pointer to beginning of free mememory of packet. Must call allocData() afterwards saying how much you used

int allocData(int newSize)
Increases packet memory usage by newSize. Returns newSize

int getPacketAlloc()
Total mem allocated in packet

int getUnused()
Unused memory in payload area

void setTotalUsage(int size)
Sets total unused memory in packet. Useful when receiving packet into buffer

int getTotalUsage()
Total unused memory in packet. Useful when transmitting packet

int getVersion()

int getPadbyteFlag()

int getCount()

RtcpType getPayloadType()

int getLength()

void printPacket()
debug

static const int PACKETSIZE
Default RTCP packet size

char* packetData
Pointer to raw packet memory

int packetAlloc
Allocated raw packet memory size

int unusedSize
Amount of unused packet memory


This class has no child classes.

alphabetic index hierarchy of classes


generated by doc++