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

Side by Side Diff: webrtc/video_receive_stream.h

Issue 1419673014: Remove frame time scheduing in IncomingVideoStream (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Method A: pass the flag through constructor Created 5 years, 1 month 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 EncodedFrameObserver* pre_decode_callback = nullptr; 165 EncodedFrameObserver* pre_decode_callback = nullptr;
166 166
167 // Called for each decoded frame. E.g. used when adding effects to the 167 // Called for each decoded frame. E.g. used when adding effects to the
168 // decoded 168 // decoded
169 // stream. 'nullptr' disables the callback. 169 // stream. 'nullptr' disables the callback.
170 I420FrameCallback* pre_render_callback = nullptr; 170 I420FrameCallback* pre_render_callback = nullptr;
171 171
172 // Target delay in milliseconds. A positive value indicates this stream is 172 // Target delay in milliseconds. A positive value indicates this stream is
173 // used for streaming instead of a real-time call. 173 // used for streaming instead of a real-time call.
174 int target_delay_ms = 0; 174 int target_delay_ms = 0;
175
176 // True, if the renderer does not want WebRTC to do time control for it.
177 bool renderer_has_time_control = false;
175 }; 178 };
176 179
177 // TODO(pbos): Add info on currently-received codec to Stats. 180 // TODO(pbos): Add info on currently-received codec to Stats.
178 virtual Stats GetStats() const = 0; 181 virtual Stats GetStats() const = 0;
179 }; 182 };
180 183
181 } // namespace webrtc 184 } // namespace webrtc
182 185
183 #endif // WEBRTC_VIDEO_RECEIVE_STREAM_H_ 186 #endif // WEBRTC_VIDEO_RECEIVE_STREAM_H_
OLDNEW
« webrtc/video/video_receive_stream.cc ('K') | « webrtc/video/video_receive_stream.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698