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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 bool suspend_below_min_bitrate = false; | 166 bool suspend_below_min_bitrate = false; |
167 }; | 167 }; |
168 | 168 |
169 // Gets interface used to insert captured frames. Valid as long as the | 169 // Gets interface used to insert captured frames. Valid as long as the |
170 // VideoSendStream is valid. | 170 // VideoSendStream is valid. |
171 virtual VideoCaptureInput* Input() = 0; | 171 virtual VideoCaptureInput* Input() = 0; |
172 | 172 |
173 // Set which streams to send. Must have at least as many SSRCs as configured | 173 // Set which streams to send. Must have at least as many SSRCs as configured |
174 // in the config. Encoder settings are passed on to the encoder instance along | 174 // in the config. Encoder settings are passed on to the encoder instance along |
175 // with the VideoStream settings. | 175 // with the VideoStream settings. |
176 virtual bool ReconfigureVideoEncoder(const VideoEncoderConfig& config) = 0; | 176 virtual void ReconfigureVideoEncoder(const VideoEncoderConfig& config) = 0; |
177 | 177 |
178 virtual Stats GetStats() = 0; | 178 virtual Stats GetStats() = 0; |
179 }; | 179 }; |
180 | 180 |
181 } // namespace webrtc | 181 } // namespace webrtc |
182 | 182 |
183 #endif // WEBRTC_VIDEO_SEND_STREAM_H_ | 183 #endif // WEBRTC_VIDEO_SEND_STREAM_H_ |
OLD | NEW |