1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef REMOTING_CLIENT_VIDEO_RENDERER_H_
6 #define REMOTING_CLIENT_VIDEO_RENDERER_H_
8 #include "remoting/protocol/video_stub.h"
12 class ChromotingStats
;
16 } // namespace protocol;
18 // VideoRenderer is responsible for decoding and displaying incoming video
20 class VideoRenderer
: public protocol::VideoStub
{
22 // Initializes the processor with the information from the protocol config.
23 virtual void Initialize(const protocol::SessionConfig
& config
) = 0;
25 // Return the statistics recorded by this client.
26 virtual ChromotingStats
* GetStats() = 0;
29 } // namespace remoting
31 #endif // REMOTING_CLIENT_VIDEO_RENDERER_H_