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

The AV1 RTP aggregation header byte (AOMedia AV1 RTP §4.4). More...

#include <av1.h>

Data Fields

bool z
 Z – the first OBU element of this packet is the continuation of an OBU fragment that started in the previous packet.
 
bool y
 Y – the last OBU element of this packet is an OBU fragment that will continue in the next packet.
 
uint8_t w
 W (2 bits) – count of OBU elements in this packet.
 
bool n
 N – this packet is the first packet of a new coded video sequence.
 

Detailed Description

The AV1 RTP aggregation header byte (AOMedia AV1 RTP §4.4).

Bit layout (network byte order, bit 0 is the MSB):

 0 1 2 3 4 5 6 7
+-+-+-+-+-+-+-+-+
|Z|Y| W |N|-|-|-|
+-+-+-+-+-+-+-+-+

Field Documentation

◆ n

bool SmolRTSP_Av1AggregationHeader::n

N – this packet is the first packet of a new coded video sequence.

RFC constraint: if N == 1 then Z must be 0.

◆ w

uint8_t SmolRTSP_Av1AggregationHeader::w

W (2 bits) – count of OBU elements in this packet.

0 means each element is preceded by a LEB128 length field; 1, 2, or 3 means exactly that many elements and the last one omits its length field.


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