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