Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(673)

Side by Side Diff: remoting/protocol/video_sender.h

Issue 850983002: Implement video frame acknowledgements in the chromoting protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698