diff options
Diffstat (limited to 'remoting/client/software_video_renderer.h')
-rw-r--r-- | remoting/client/software_video_renderer.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/remoting/client/software_video_renderer.h b/remoting/client/software_video_renderer.h index 6843432..11be6dc 100644 --- a/remoting/client/software_video_renderer.h +++ b/remoting/client/software_video_renderer.h @@ -11,6 +11,7 @@ #include "remoting/client/frame_consumer_proxy.h" #include "remoting/client/frame_producer.h" #include "remoting/client/video_renderer.h" +#include "remoting/protocol/video_stub.h" #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" namespace base { @@ -27,6 +28,7 @@ class ChromotingStats; // called on the main thread. Owned must ensure that this class outlives // FrameConsumer (which calls FrameProducer interface). class SoftwareVideoRenderer : public VideoRenderer, + public protocol::VideoStub, public FrameProducer, public base::NonThreadSafe { public: @@ -41,9 +43,12 @@ class SoftwareVideoRenderer : public VideoRenderer, scoped_refptr<FrameConsumerProxy> consumer); ~SoftwareVideoRenderer() override; - // VideoRenderer implementation. + // VideoRenderer interface. void OnSessionConfig(const protocol::SessionConfig& config) override; ChromotingStats* GetStats() override; + protocol::VideoStub* GetVideoStub() override; + + // protocol::VideoStub interface. void ProcessVideoPacket(scoped_ptr<VideoPacket> packet, const base::Closure& done) override; |