19#include "local_track_publication.h"
65 static std::shared_ptr<LocalVideoTrack>
67 const std::shared_ptr<VideoSource> &source);
84 std::shared_ptr<LocalTrackPublication>
publication() const noexcept {
85 return local_publication_;
99 std::shared_ptr<LocalTrackPublication> local_publication_;
RAII wrapper for an FFI handle (uintptr_t) coming from Rust.
Definition ffi_handle.h:29
Definition local_video_track.h:54
std::shared_ptr< LocalTrackPublication > publication() const noexcept
Definition local_video_track.h:84
void unmute()
Unmutes the video track and resumes sending video to the room.
void setPublication(const std::shared_ptr< LocalTrackPublication > &publication) noexcept override
Sets the publication that owns this track.
Definition local_video_track.h:89
static std::shared_ptr< LocalVideoTrack > createLocalVideoTrack(const std::string &name, const std::shared_ptr< VideoSource > &source)
std::string to_string() const