OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Internal message types that should not be seen outside the protocol | 5 // Internal message types that should not be seen outside the protocol |
6 // directory. | 6 // directory. |
7 | 7 |
8 syntax = "proto2"; | 8 syntax = "proto2"; |
9 | 9 |
10 option optimize_for = LITE_RUNTIME; | 10 option optimize_for = LITE_RUNTIME; |
11 | 11 |
12 package remoting; | 12 package remoting; |
13 | 13 |
14 // Next Id: 13 | |
15 message FrameStatsMessage { | 14 message FrameStatsMessage { |
16 // Frame ID. | 15 // Frame ID. |
17 optional uint32 frame_id = 1; | 16 optional uint32 frame_id = 1; |
18 | 17 |
19 // Frame size. | 18 // Frame size. |
20 optional int32 frame_size = 2; | 19 optional int32 frame_size = 2; |
21 | 20 |
22 // Id of the last event that was injected before this frame was captured. | 21 // Id of the last event that was injected before this frame was captured. |
23 optional int64 latest_event_timestamp = 3; | 22 optional int64 latest_event_timestamp = 3; |
24 | 23 |
(...skipping 13 matching lines...) Expand all Loading... |
38 optional int32 encode_time_ms = 8; | 37 optional int32 encode_time_ms = 8; |
39 | 38 |
40 // Time for which the frame is blocked until it's sent to the client. | 39 // Time for which the frame is blocked until it's sent to the client. |
41 optional int32 send_pending_time_ms = 9; | 40 optional int32 send_pending_time_ms = 9; |
42 | 41 |
43 // Current network RTT estimate. | 42 // Current network RTT estimate. |
44 optional int32 rtt_estimate_ms = 10; | 43 optional int32 rtt_estimate_ms = 10; |
45 | 44 |
46 // Current bandwidth estimate in kb/s. | 45 // Current bandwidth estimate in kb/s. |
47 optional int32 bandwidth_estimate_kbps = 11; | 46 optional int32 bandwidth_estimate_kbps = 11; |
48 | |
49 // The capturer Id to indicate the implementation of ScreenCapturer that | |
50 // generates this frame. | |
51 optional uint32 capturer_id = 12; | |
52 } | 47 } |
53 | 48 |
OLD | NEW |