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_PROTOCOL_VIDEO_SENDER_H_ | |
6 #define REMOTING_PROTOCOL_VIDEO_SENDER_H_ | |
7 | |
8 #include "remoting/protocol/video_stub.h" | |
9 | |
10 namespace remoting { | |
11 namespace protocol { | |
12 | |
13 // Version of VideoStub used on the sending side. | |
14 class VideoSender : public VideoStub { | |
Wez
2015/01/21 01:35:40
This name is confusing - classes that implement th
Sergey Ulanov
2015/01/29 01:33:29
Done.
| |
15 public: | |
16 // Indicates that the connection supports video packet acknowledgments, which | |
17 // means that VideoStub::ProcessVideoPacket() doesn't call |done| callback | |
18 // until a notification is received from the client that the frame has been | |
19 // rendered. | |
20 virtual bool SupportsAcks() = 0; | |
21 | |
22 protected: | |
23 VideoSender() {} | |
24 virtual ~VideoSender() {} | |
25 | |
26 private: | |
27 DISALLOW_COPY_AND_ASSIGN(VideoSender); | |
28 }; | |
29 | |
30 } // namespace protocol | |
31 } // namespace remoting | |
32 | |
33 #endif // REMOTING_PROTOCOL_VIDEO_SENDER_H_ | |
OLD | NEW |