 Chromium Code Reviews
 Chromium Code Reviews Issue 850983002:
  Implement video frame acknowledgements in the chromoting protocol.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master
    
  
    Issue 850983002:
  Implement video frame acknowledgements in the chromoting protocol.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 59 // starting to capture this video frame. | 59 // starting to capture this video frame. | 
| 60 optional int64 latest_event_timestamp = 9; | 60 optional int64 latest_event_timestamp = 9; | 
| 61 | 61 | 
| 62 repeated Rect desktop_shape_rects = 10; | 62 repeated Rect desktop_shape_rects = 10; | 
| 63 | 63 | 
| 64 // True when |desktop_shape_rects| should be used. | 64 // True when |desktop_shape_rects| should be used. | 
| 65 optional bool use_desktop_shape = 11; | 65 optional bool use_desktop_shape = 11; | 
| 66 | 66 | 
| 67 // Optional frame timestamp. Used in tests to estimate frame latency. | 67 // Optional frame timestamp. Used in tests to estimate frame latency. | 
| 68 optional int64 timestamp = 12; | 68 optional int64 timestamp = 12; | 
| 69 | |
| 70 // Frame identifier used to match VideoFrame and VideoAck. | |
| 71 optional int32 frame_id = 13; | |
| 69 } | 72 } | 
| 73 | |
| 74 // VideoAck acknowledges that the frame in the VideoPacket with the same | |
| 75 // frame_id has been rendered. VideoAck messages must be sent only for frames | |
| 76 // that have frame_id field set. They must be sent the same order in which | |
| 77 // the corresponding VideoPackets were received. | |
| 
Wez
2015/02/11 02:22:56
Note that if we move to an unordered transport the
 
Sergey Ulanov
2015/02/17 19:37:06
It will be easy to remove this requirement for uno
 
Wez
2015/02/21 03:12:02
Acknowledged.
 | |
| 78 message VideoAck { | |
| 
Wez
2015/02/11 02:22:56
nit: You could almost call this VideoFrameFeedback
 
Sergey Ulanov
2015/02/17 19:37:06
I think VideoAck is fine for now - it can be renam
 
Wez
2015/02/21 03:12:02
Acknowledged.
 | |
| 79 // Frame ID. | |
| 80 optional int32 frame_id = 1; | |
| 81 } | |
| OLD | NEW |