summaryrefslogtreecommitdiffstats
path: root/remoting/proto/video.proto
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-06 21:19:29 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-06 21:19:29 +0000
commitc0f7082fdc8b239027b196a777180899bf7f5ce3 (patch)
tree1b4ff8c2ca9049ef75b80f5f7c1bb7f0762de1c7 /remoting/proto/video.proto
parent9d85fa39bdf901eea6dc70f804e3d2a1001d07ab (diff)
downloadchromium_src-c0f7082fdc8b239027b196a777180899bf7f5ce3.zip
chromium_src-c0f7082fdc8b239027b196a777180899bf7f5ce3.tar.gz
chromium_src-c0f7082fdc8b239027b196a777180899bf7f5ce3.tar.bz2
Chromoting to report roundtrip latency
Doing so by sending a sequence number, essentially the timestamp in every envet message. Capturer at the host will pick up the latest sequence number and pass it through the pipeline. Client will then receive it and determine the latency. This roundtrip latency number however doesn't include time in decoding and rendering. BUG=None TEST=None Review URL: http://codereview.chromium.org/6792038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84504 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/proto/video.proto')
-rw-r--r--remoting/proto/video.proto6
1 files changed, 5 insertions, 1 deletions
diff --git a/remoting/proto/video.proto b/remoting/proto/video.proto
index b9bd53c..049351e 100644
--- a/remoting/proto/video.proto
+++ b/remoting/proto/video.proto
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -91,4 +91,8 @@ message VideoPacket {
// Time in milliseconds spent in encoding this video frame.
optional int32 encode_time_ms = 8;
+
+ // The most recent sequence number received from the client on the event
+ // channel.
+ optional int64 client_sequence_number = 9;
}