SmolRTSP 0.2.0
A small, portable, extensible RTSP 1.0 implementation in C99
Loading...
Searching...
No Matches
SmolRTSP_RtcpBye Struct Reference

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).
 

Detailed Description

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 ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Field Documentation

◆ reason

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.


The documentation for this struct was generated from the following file: