Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(205)

Side by Side Diff: remoting/proto/video.proto

Issue 1846893002: Interface with webrtc through encoded frames (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed sergey comment Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « remoting/host/chromoting_host.cc ('k') | remoting/protocol/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 // Total overhead time for IPC and threading when capturing frames. 74 // Total overhead time for IPC and threading when capturing frames.
75 optional int64 capture_overhead_time_ms = 15; 75 optional int64 capture_overhead_time_ms = 15;
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
84 // Indicates whether the encoded frame is a key frame.
85 optional bool key_frame = 18;
83 } 86 }
84 87
85 // VideoAck acknowledges that the frame in the VideoPacket with the same 88 // VideoAck acknowledges that the frame in the VideoPacket with the same
86 // frame_id has been rendered. VideoAck messages must be sent only for frames 89 // frame_id has been rendered. VideoAck messages must be sent only for frames
87 // that have frame_id field set. They must be sent the same order in which 90 // that have frame_id field set. They must be sent the same order in which
88 // the corresponding VideoPackets were received. 91 // the corresponding VideoPackets were received.
89 message VideoAck { 92 message VideoAck {
90 // Frame ID. 93 // Frame ID.
91 optional int32 frame_id = 1; 94 optional int32 frame_id = 1;
92 } 95 }
OLDNEW
« no previous file with comments | « remoting/host/chromoting_host.cc ('k') | remoting/protocol/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698