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

Unified Diff: remoting/proto/video.proto

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
Index: remoting/proto/video.proto
diff --git a/remoting/proto/video.proto b/remoting/proto/video.proto
index 0ee29c9b8922d65c30dfb653fa32db538104eb79..211b0231ddbeae5c1b2b460f6244cded5fcbf6aa 100644
--- a/remoting/proto/video.proto
+++ b/remoting/proto/video.proto
@@ -66,4 +66,16 @@ message VideoPacket {
// Optional frame timestamp. Used in tests to estimate frame latency.
optional int64 timestamp = 12;
+
+ // Frame identifier used to match VideoFrame and VideoAck.
+ optional int32 frame_id = 13;
+}
+
+// VideoAck acknowledges that the frame in the VideoPacket with the same
+// frame_id has been rendered. VideoAck messages must be sent only for frames
+// that have frame_id field set. They must be sent the same order in which
+// the corresponding VideoPackets were received.
+message VideoAck {
+ // Frame ID.
+ optional int32 frame_id = 1;
}

Powered by Google App Engine
This is Rietveld 408576698