#ifndef REMOTING_PROTOCOL_WEBRTC_VIDEO_RENDERER_ADAPTER_H_
#define REMOTING_PROTOCOL_WEBRTC_VIDEO_RENDERER_ADAPTER_H_
#include <list>
#include <memory>
#include "base/functional/callback.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/scoped_refptr.h"
#include "base/memory/weak_ptr.h"
#include "base/time/time.h"
#include "remoting/protocol/client_video_stats_dispatcher.h"
#include "remoting/protocol/video_stats_stub.h"
#include "third_party/webrtc/api/media_stream_interface.h"
#include "third_party/webrtc/api/video/video_sink_interface.h"
namespace base {
class SingleThreadTaskRunner;
}
namespace webrtc {
class DesktopFrame;
class VideoFrameBuffer;
}
namespace remoting::protocol {
class MessagePipe;
class VideoRenderer;
struct ClientFrameStats;
struct HostFrameStats;
class WebrtcVideoRendererAdapter
: public rtc::VideoSinkInterface<webrtc::VideoFrame>,
public VideoStatsStub,
public ClientVideoStatsDispatcher::EventHandler { … };
}
#endif