LiveKit C++ Client SDK v1.4.0
Real-time audio/video/data SDK for C++
Loading...
Searching...
No Matches
livekit::DataTrackPipelineOptions Struct Reference

Track-level options that configure how the incoming-frame pipeline reassembles packets for a remote data track. More...

#include <remote_data_track.h>

Public Attributes

std::optional< std::uint32_t > max_partial_frames {std::nullopt}
 Maximum number of partial frames the depacketizer will track concurrently for this track.
 

Detailed Description

Track-level options that configure how the incoming-frame pipeline reassembles packets for a remote data track.

Applied via RemoteDataTrack::setPipelineOptions().

Member Data Documentation

◆ max_partial_frames

std::optional<std::uint32_t> livekit::DataTrackPipelineOptions::max_partial_frames {std::nullopt}

Maximum number of partial frames the depacketizer will track concurrently for this track.

Defaults to 1. Higher values give more out-of-order tolerance for high-frequency senders at the cost of additional buffering. Zero is not a valid value; if a value of zero is provided, it will be clamped to one. Leave unset to keep the current value.


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