#include "test/frame_forwarder.h"
#include "rtc_base/checks.h"
namespace webrtc {
namespace test {
FrameForwarder::FrameForwarder() : … { … }
FrameForwarder::~FrameForwarder() { … }
void FrameForwarder::IncomingCapturedFrame(const VideoFrame& video_frame) { … }
void FrameForwarder::AddOrUpdateSink(rtc::VideoSinkInterface<VideoFrame>* sink,
const rtc::VideoSinkWants& wants) { … }
void FrameForwarder::AddOrUpdateSinkLocked(
rtc::VideoSinkInterface<VideoFrame>* sink,
const rtc::VideoSinkWants& wants) { … }
void FrameForwarder::RemoveSink(rtc::VideoSinkInterface<VideoFrame>* sink) { … }
rtc::VideoSinkWants FrameForwarder::sink_wants() const { … }
rtc::VideoSinkWants FrameForwarder::sink_wants_locked() const { … }
bool FrameForwarder::has_sinks() const { … }
}
}