|
LiveKit C++ SDK
Real-time audio/video SDK for C++
|
#include <track_publication.h>


Public Member Functions | |
| TrackPublication (const TrackPublication &)=delete | |
| TrackPublication & | operator= (const TrackPublication &)=delete |
| TrackPublication (TrackPublication &&) noexcept=default | |
| TrackPublication & | operator= (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< Track > | track () const noexcept |
| Associated Track (if attached). | |
| void | setTrack (const std::shared_ptr< Track > &track) noexcept |
Protected Member Functions | |
| 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 | |
| FfiHandle | handle_ |
| std::shared_ptr< Track > | track_ |
| 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_ |
C++ TrackPublication.
Wraps the immutable publication info plus an FFI handle, and holds a weak reference to the associated Track (if any).