Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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. | |
| 4 | |
| 5 #ifndef REMOTING_CLIENT_VIDEO_PROCESSOR_H_ | |
| 6 #define REMOTING_CLIENT_VIDEO_PROCESSOR_H_ | |
| 7 | |
| 8 #include "remoting/protocol/video_stub.h" | |
| 9 | |
| 10 namespace remoting { | |
| 11 | |
| 12 class ChromotingStats; | |
| 13 | |
| 14 namespace protocol { | |
| 15 class SessionConfig; | |
| 16 } // namespace protocol; | |
| 17 | |
| 18 // VideoProcessor is responsible for decoding and displaying incoming video | |
| 19 // stream. | |
| 20 class VideoProcessor : public protocol::VideoStub { | |
|
Wez
2014/01/14 16:23:14
Since implementations of this class are specifical
Sergey Ulanov
2014/01/15 00:58:17
VideoRenderer it is.
| |
| 21 public: | |
| 22 // Initializes the processor with the information from the protocol config. | |
| 23 virtual void Initialize(const protocol::SessionConfig& config) = 0; | |
| 24 | |
| 25 // Return the stats recorded by this client. | |
| 26 virtual ChromotingStats* GetStats() = 0; | |
| 27 }; | |
| 28 | |
| 29 } // namespace remoting | |
| 30 | |
| 31 #endif // REMOTING_CLIENT_VIDEO_PROCESSOR_H_ | |
| OLD | NEW |