Represents an RTCP compound packet.
More...
#include <rtcpcompoundpacket.h>
List of all members.
Detailed Description
Constructor & Destructor Documentation
| RTCPCompoundPacket::RTCPCompoundPacket |
( |
uint8_t * |
packet, |
|
|
size_t |
len, |
|
|
bool |
deletedata = true, |
|
|
RTPMemoryManager * |
memmgr = 0 |
|
) |
| |
Creates an RTCPCompoundPacket instance from the data in packet}, with size len. The deletedata flag specifies if the data in packet should be deleted when the compound packet is destroyed. If specified, a memory manager will be installed.
Member Function Documentation
| uint8_t* RTCPCompoundPacket::GetCompoundPacketData |
( |
| ) |
|
|
inline |
| size_t RTCPCompoundPacket::GetCompoundPacketLength |
( |
| ) |
|
|
inline |
| int RTCPCompoundPacket::GetCreationError |
( |
| ) |
|
|
inline |
If the raw packet data in the constructor could not be parsed, this function returns the error code of what went wrong. If the packet had an invalid format, the return value is ERR_RTP_RTCPCOMPOUND_INVALIDPACKET.
Returns a pointer to the next individual RTCP packet. Note that no delete call may be done on the RTCPPacket instance which is returned.
| void RTCPCompoundPacket::GotoFirstPacket |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: