jrtplib
3.7.1
|
Describes an RTCP packet of unknown type. More...
#include <rtcpunknownpacket.h>
Public Member Functions | |
RTCPUnknownPacket (uint8_t *data, size_t datalen) | |
Creates an instance based on the data in data with length datalen . |
Describes an RTCP packet of unknown type. This class doesn't have any extra member functions besides the ones it inherited. Note that since an unknown packet type doesn't have any format to check against, the IsKnownFormat function will trivially return true
.
RTCPUnknownPacket::RTCPUnknownPacket | ( | uint8_t * | data, |
size_t | datalen | ||
) | [inline] |
Creates an instance based on the data in data
with length datalen
. Since the data
pointer is referenced inside the class (no copy of the data is made) one must make sure that the memory it points to is valid as long as the class instance exists.