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

Options for publishing a data track. More...

#include <data_track_options.h>

Public Attributes

std::string name
 Track name used to identify the track to other participants.
 
std::optional< DataTrackSchemaIdschema
 Schema describing frames sent on the track, if any.
 
std::optional< DataTrackFrameEncodingframe_encoding
 Encoding of frames sent on the track, if any.
 

Detailed Description

Options for publishing a data track.

The schema and frame encoding are optional metadata advertised to subscribers; they are surfaced on the subscriber side via DataTrackInfo.

Member Data Documentation

◆ name

std::string livekit::DataTrackPublishOptions::name

Track name used to identify the track to other participants.

Must not be empty and must be unique per publisher.


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