OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |