| 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; | 9 option optimize_for = LITE_RUNTIME; |
| 10 | 10 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 | 76 |
| 77 // Time between when the frame was captured and when encoder started encoding | 77 // Time between when the frame was captured and when encoder started encoding |
| 78 // it. | 78 // it. |
| 79 optional int64 encode_pending_time_ms = 16; | 79 optional int64 encode_pending_time_ms = 16; |
| 80 | 80 |
| 81 // Time for which the frame is blocked until it's sent to the client. | 81 // Time for which the frame is blocked until it's sent to the client. |
| 82 optional int64 send_pending_time_ms = 17; | 82 optional int64 send_pending_time_ms = 17; |
| 83 | 83 |
| 84 // Indicates whether the encoded frame is a key frame. | 84 // Indicates whether the encoded frame is a key frame. |
| 85 optional bool key_frame = 18; | 85 optional bool key_frame = 18; |
| 86 |
| 87 // Quantizer value on the encoded frame. |
| 88 optional int32 quantizer = 19; |
| 86 } | 89 } |
| 87 | 90 |
| 88 // VideoAck acknowledges that the frame in the VideoPacket with the same | 91 // VideoAck acknowledges that the frame in the VideoPacket with the same |
| 89 // frame_id has been rendered. VideoAck messages must be sent only for frames | 92 // frame_id has been rendered. VideoAck messages must be sent only for frames |
| 90 // that have frame_id field set. They must be sent the same order in which | 93 // that have frame_id field set. They must be sent the same order in which |
| 91 // the corresponding VideoPackets were received. | 94 // the corresponding VideoPackets were received. |
| 92 message VideoAck { | 95 message VideoAck { |
| 93 // Frame ID. | 96 // Frame ID. |
| 94 optional int32 frame_id = 1; | 97 optional int32 frame_id = 1; |
| 95 } | 98 } |
| OLD | NEW |