Describes an RTCP BYE packet.
More...
#include <rtcpbyepacket.h>
List of all members.
Public Member Functions |
| RTCPBYEPacket (uint8_t *data, size_t datalen) |
| Creates an instance based on the data in data with length datalen .
|
int | GetSSRCCount () const |
| Returns the number of SSRC identifiers present in this BYE packet.
|
uint32_t | GetSSRC (int index) const |
| Returns the SSRC described by index which may have a value from 0 to GetSSRCCount()-1 (note that no check is performed to see if index is valid).
|
bool | HasReasonForLeaving () const |
| Returns true if the BYE packet contains a reason for leaving.
|
size_t | GetReasonLength () const |
| Returns the length of the string which describes why the source(s) left.
|
uint8_t * | GetReasonData () |
| Returns the actual reason for leaving data.
|
Detailed Description
Constructor & Destructor Documentation
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.
Member Function Documentation
The documentation for this class was generated from the following file: