OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Protocol for video messages. | 5 // Protocol for video messages. |
6 | 6 |
7 syntax = "proto2"; | 7 syntax = "proto2"; |
8 | 8 |
9 option optimize_for = LITE_RUNTIME; | |
10 | |
11 package remoting; | 9 package remoting; |
12 | 10 |
13 message VideoPacketFormat { | 11 message VideoPacketFormat { |
14 // Identifies how the image was encoded. | 12 // Identifies how the image was encoded. |
15 enum Encoding { | 13 enum Encoding { |
16 ENCODING_INVALID = -1; | 14 ENCODING_INVALID = -1; |
17 ENCODING_VERBATIM = 0; | 15 ENCODING_VERBATIM = 0; |
18 ENCODING_ZLIB = 1; | 16 ENCODING_ZLIB = 1; |
19 ENCODING_VP8 = 2; | 17 ENCODING_VP8 = 2; |
20 }; | 18 }; |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 // Time in milliseconds spent in capturing this video frame. | 91 // Time in milliseconds spent in capturing this video frame. |
94 optional int32 capture_time_ms = 7; | 92 optional int32 capture_time_ms = 7; |
95 | 93 |
96 // Time in milliseconds spent in encoding this video frame. | 94 // Time in milliseconds spent in encoding this video frame. |
97 optional int32 encode_time_ms = 8; | 95 optional int32 encode_time_ms = 8; |
98 | 96 |
99 // The most recent sequence number received from the client on the event | 97 // The most recent sequence number received from the client on the event |
100 // channel. | 98 // channel. |
101 optional int64 client_sequence_number = 9; | 99 optional int64 client_sequence_number = 9; |
102 } | 100 } |
OLD | NEW |