LiveKit C++ SDK
Real-time audio/video SDK for C++
Loading...
Searching...
No Matches
livekit::Track Class Reference
Inheritance diagram for livekit::Track:

Public Member Functions

const std::string & sid () const noexcept
 
const std::string & name () const noexcept
 
TrackKind kind () const noexcept
 
StreamState stream_state () const noexcept
 
bool muted () const noexcept
 
bool remote () const noexcept
 
std::optional< TrackSource > source () const noexcept
 
std::optional< bool > simulcasted () const noexcept
 
std::optional< uint32_t > width () const noexcept
 
std::optional< uint32_t > height () const noexcept
 
std::optional< std::string > mime_type () const noexcept
 
bool has_handle () const noexcept
 
uintptr_t ffi_handle_id () const noexcept
 
std::future< std::vector< RtcStats > > getStats () const
 
void setStreamState (StreamState s) noexcept
 
void setMuted (bool m) noexcept
 
void setName (std::string n) noexcept
 

Protected Member Functions

 Track (FfiHandle handle, std::string sid, std::string name, TrackKind kind, StreamState state, bool muted, bool remote)
 
void setPublicationFields (std::optional< TrackSource > source, std::optional< bool > simulcasted, std::optional< uint32_t > width, std::optional< uint32_t > height, std::optional< std::string > mime_type)
 

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