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

Unified Diff: remoting/protocol/client_video_dispatcher.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, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/proto/video.proto ('k') | remoting/protocol/client_video_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/client_video_dispatcher.h
diff --git a/remoting/protocol/client_video_dispatcher.h b/remoting/protocol/client_video_dispatcher.h
index b2b1e3162ab5b08fb2317fe3e00ed3d02ae2bbcf..a86142fa97977f42253fea33d68701095758df19 100644
--- a/remoting/protocol/client_video_dispatcher.h
+++ b/remoting/protocol/client_video_dispatcher.h
@@ -21,6 +21,18 @@ class ClientVideoDispatcher : public ChannelDispatcherBase {
~ClientVideoDispatcher() override;
private:
+ struct PendingFrame;
+ typedef std::list<PendingFrame> PendingFramesList;
+
+ void ProcessVideoPacket(scoped_ptr<VideoPacket> video_packet,
+ const base::Closure& done);
+
+ // Callback for VideoStub::ProcessVideoPacket().
+ void OnPacketDone(PendingFramesList::iterator pending_frame);
+
+ PendingFramesList pending_frames_;
+
+ VideoStub* video_stub_;
ProtobufMessageParser<VideoPacket> parser_;
DISALLOW_COPY_AND_ASSIGN(ClientVideoDispatcher);
« no previous file with comments | « remoting/proto/video.proto ('k') | remoting/protocol/client_video_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698