#include "pc/video_track.h"
#include <utility>
#include <vector>
#include "api/notifier.h"
#include "api/sequence_checker.h"
#include "rtc_base/checks.h"
namespace webrtc {
VideoTrack::VideoTrack(
absl::string_view label,
rtc::scoped_refptr<
VideoTrackSourceProxyWithInternal<VideoTrackSourceInterface>> source,
rtc::Thread* worker_thread)
: … { … }
VideoTrack::~VideoTrack() { … }
std::string VideoTrack::kind() const { … }
void VideoTrack::AddOrUpdateSink(rtc::VideoSinkInterface<VideoFrame>* sink,
const rtc::VideoSinkWants& wants) { … }
void VideoTrack::RemoveSink(rtc::VideoSinkInterface<VideoFrame>* sink) { … }
void VideoTrack::RequestRefreshFrame() { … }
VideoTrackSourceInterface* VideoTrack::GetSource() const { … }
VideoTrackSourceInterface* VideoTrack::GetSourceInternal() const { … }
VideoTrackInterface::ContentHint VideoTrack::content_hint() const { … }
void VideoTrack::set_content_hint(ContentHint hint) { … }
bool VideoTrack::set_enabled(bool enable) { … }
bool VideoTrack::enabled() const { … }
MediaStreamTrackInterface::TrackState VideoTrack::state() const { … }
void VideoTrack::OnChanged() { … }
rtc::scoped_refptr<VideoTrack> VideoTrack::Create(
absl::string_view id,
rtc::scoped_refptr<VideoTrackSourceInterface> source,
rtc::Thread* worker_thread) { … }
}