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

The configuration structure for SmolRTSP_JpegXsTransport. More...

#include <jpegxs_transport.h>

Data Fields

SmolRTSP_JpegXsPackMode pack_mode
 Packetization mode (the K bit) used by every packet emitted by this transport.
 
bool sequential
 Transmission-order mode (the T bit).
 
size_t max_packet_size
 Maximum size in bytes of the RTP payload (i.e.
 

Detailed Description

The configuration structure for SmolRTSP_JpegXsTransport.

Field Documentation

◆ max_packet_size

size_t SmolRTSP_JpegXsTransportConfig::max_packet_size

Maximum size in bytes of the RTP payload (i.e.

4-byte JPEG XS payload header plus the codestream/slice chunk) per RTP packet. Units larger than max_packet_size - SMOLRTSP_JPEGXS_PAYLOAD_HEADER_SIZE bytes are split across multiple RTP packets.

◆ sequential

bool SmolRTSP_JpegXsTransportConfig::sequential

Transmission-order mode (the T bit).

RFC 9134 ยง4.3 requires sequential == true when pack_mode is SMOLRTSP_JPEGXS_PACK_CODESTREAM.


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