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

Options for publishing a track to the room. More...

#include <room_event_types.h>

Collaboration diagram for livekit::TrackPublishOptions:

Public Attributes

std::optional< VideoEncodingOptionsvideo_encoding
 Optional video encoding parameters.
 
std::optional< AudioEncodingOptionsaudio_encoding
 Optional audio encoding parameters.
 
std::optional< VideoCodec > video_codec
 Optional video codec to use.
 
std::optional< bool > dtx
 Enable or disable discontinuous transmission (DTX).
 
std::optional< bool > red
 Enable or disable RED (redundant encoding).
 
std::optional< bool > simulcast
 Enable or disable simulcast.
 
std::optional< TrackSourcesource
 Track source (camera, microphone, screen share, etc.).
 
std::optional< std::string > stream
 Optional stream label/group for this track.
 
std::optional< bool > preconnect_buffer
 Enable pre-connect buffering for lower startup latency.
 
PacketTrailerFeatures packet_trailer_features {}
 Optional packet-trailer features to enable for published video.
 

Detailed Description

Options for publishing a track to the room.


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