|
SmolRTSP 0.2.0
A small, portable, extensible RTSP 1.0 implementation in C99
|
An RTCP BYE packet for a single SSRC, optionally carrying a reason text (RFC 3550 §6.6). More...
#include <rtcp.h>
Data Fields | |
| bool | padding |
| (1 bit) Padding flag. | |
| uint32_t | ssrc |
| (32 bits) SSRC of the source leaving the session. | |
| const char * | reason |
| Optional human-readable reason text (NULL or empty string means no reason). | |
An RTCP BYE packet for a single SSRC, optionally carrying a reason text (RFC 3550 §6.6).
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |V=2|P| SC=1 | PT=BYE=203 | length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SSRC | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | (opt) len | reason text ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| const char* SmolRTSP_RtcpBye::reason |
Optional human-readable reason text (NULL or empty string means no reason).
Must be ≤ 255 bytes; the length field is 8 bits.