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

Side by Side Diff: webrtc/video_send_stream.h

Issue 1600973002: Initialize VideoEncoder objects asynchronously. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rename new_codec_settings Created 4 years, 11 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 | « webrtc/video/vie_encoder.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 EncodingTimeObserver* encoding_time_observer = nullptr; 171 EncodingTimeObserver* encoding_time_observer = nullptr;
172 }; 172 };
173 173
174 // Gets interface used to insert captured frames. Valid as long as the 174 // Gets interface used to insert captured frames. Valid as long as the
175 // VideoSendStream is valid. 175 // VideoSendStream is valid.
176 virtual VideoCaptureInput* Input() = 0; 176 virtual VideoCaptureInput* Input() = 0;
177 177
178 // Set which streams to send. Must have at least as many SSRCs as configured 178 // Set which streams to send. Must have at least as many SSRCs as configured
179 // in the config. Encoder settings are passed on to the encoder instance along 179 // in the config. Encoder settings are passed on to the encoder instance along
180 // with the VideoStream settings. 180 // with the VideoStream settings.
181 virtual bool ReconfigureVideoEncoder(const VideoEncoderConfig& config) = 0; 181 virtual void ReconfigureVideoEncoder(const VideoEncoderConfig& config) = 0;
182 182
183 virtual Stats GetStats() = 0; 183 virtual Stats GetStats() = 0;
184 }; 184 };
185 185
186 } // namespace webrtc 186 } // namespace webrtc
187 187
188 #endif // WEBRTC_VIDEO_SEND_STREAM_H_ 188 #endif // WEBRTC_VIDEO_SEND_STREAM_H_
OLDNEW
« no previous file with comments | « webrtc/video/vie_encoder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698