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

An RTCP Receiver Report (RR) header (RFC 3550 §6.4.2). More...

#include <rtcp.h>

Data Fields

bool padding
 (1 bit) Padding flag.
 
uint8_t rc
 (5 bits) Reception report count.
 
uint32_t ssrc
 (32 bits) Synchronization source identifier of the packet sender.
 

Detailed Description

An RTCP Receiver Report (RR) header (RFC 3550 §6.4.2).

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| RC | PT=RR=201 | length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SSRC of packet sender | +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

Reception report blocks (RC > 0) are not yet supported; rc must be zero.

Field Documentation

◆ rc

uint8_t SmolRTSP_RtcpRr::rc

(5 bits) Reception report count.

Must be 0 for this implementation.

◆ ssrc

uint32_t SmolRTSP_RtcpRr::ssrc

(32 bits) Synchronization source identifier of the packet sender.

Network byte order; SSRC is opaque on the wire so either endianness works as long as it stays consistent with the matching RTP stream.


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