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

Public Member Functions

 RemoteTrackPublication (const proto::OwnedTrackPublication &owned)
 
std::shared_ptr< Tracktrack () const noexcept
 Typed accessor for the attached RemoteTrack (if any).
 
bool subscribed () const noexcept
 
void setSubscribed (bool subscribed)
 
- Public Member Functions inherited from livekit::TrackPublication
 TrackPublication (const TrackPublication &)=delete
 
TrackPublicationoperator= (const TrackPublication &)=delete
 
 TrackPublication (TrackPublication &&) noexcept=default
 
TrackPublicationoperator= (TrackPublication &&) noexcept=default
 
const std::string & sid () const noexcept
 
const std::string & name () const noexcept
 
TrackKind kind () const noexcept
 
TrackSource source () const noexcept
 
bool simulcasted () const noexcept
 
std::uint32_t width () const noexcept
 
std::uint32_t height () const noexcept
 
const std::string & mimeType () const noexcept
 
bool muted () const noexcept
 
void setMuted (bool muted) noexcept
 
EncryptionType encryptionType () const noexcept
 
const std::vector< AudioTrackFeature > & audioFeatures () const noexcept
 
uintptr_t ffiHandleId () const noexcept
 Underlying FFI handle value.
 
std::shared_ptr< Tracktrack () const noexcept
 Associated Track (if attached).
 
void setTrack (const std::shared_ptr< Track > &track) noexcept
 

Additional Inherited Members

- Protected Member Functions inherited from livekit::TrackPublication
 TrackPublication (FfiHandle handle, std::string sid, std::string name, TrackKind kind, TrackSource source, bool simulcasted, std::uint32_t width, std::uint32_t height, std::string mime_type, bool muted, EncryptionType encryption_type, std::vector< AudioTrackFeature > audio_features)
 
- Protected Attributes inherited from livekit::TrackPublication
FfiHandle handle_
 
std::shared_ptr< Tracktrack_
 
std::string sid_
 
std::string name_
 
TrackKind kind_
 
TrackSource source_
 
bool simulcasted_ {false}
 
std::uint32_t width_ {0}
 
std::uint32_t height_ {0}
 
std::string mime_type_
 
bool muted_ {false}
 
EncryptionType encryption_type_
 
std::vector< AudioTrackFeature > audio_features_
 

Constructor & Destructor Documentation

◆ RemoteTrackPublication()

livekit::RemoteTrackPublication::RemoteTrackPublication ( const proto::OwnedTrackPublication &  owned)
explicit

Note, this RemoteTrackPublication is constructed internally only; safe to accept proto::OwnedTrackPublication.


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