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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 | 178 |
179 // Target delay in milliseconds. A positive value indicates this stream is | 179 // Target delay in milliseconds. A positive value indicates this stream is |
180 // used for streaming instead of a real-time call. | 180 // used for streaming instead of a real-time call. |
181 int target_delay_ms = 0; | 181 int target_delay_ms = 0; |
182 | 182 |
183 // True if the stream should be suspended when the available bitrate fall | 183 // True if the stream should be suspended when the available bitrate fall |
184 // below the minimum configured bitrate. If this variable is false, the | 184 // below the minimum configured bitrate. If this variable is false, the |
185 // stream may send at a rate higher than the estimated available bitrate. | 185 // stream may send at a rate higher than the estimated available bitrate. |
186 bool suspend_below_min_bitrate = false; | 186 bool suspend_below_min_bitrate = false; |
187 | 187 |
| 188 // Enables periodic bandwidth probing in application-limited region. |
| 189 bool periodic_alr_bandwidth_probing = false; |
| 190 |
188 private: | 191 private: |
189 // Access to the copy constructor is private to force use of the Copy() | 192 // Access to the copy constructor is private to force use of the Copy() |
190 // method for those exceptional cases where we do use it. | 193 // method for those exceptional cases where we do use it. |
191 Config(const Config&) = default; | 194 Config(const Config&) = default; |
192 }; | 195 }; |
193 | 196 |
194 // Starts stream activity. | 197 // Starts stream activity. |
195 // When a stream is active, it can receive, process and deliver packets. | 198 // When a stream is active, it can receive, process and deliver packets. |
196 virtual void Start() = 0; | 199 virtual void Start() = 0; |
197 // Stops stream activity. | 200 // Stops stream activity. |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 EnableEncodedFrameRecording(std::vector<rtc::PlatformFile>(), 0); | 236 EnableEncodedFrameRecording(std::vector<rtc::PlatformFile>(), 0); |
234 } | 237 } |
235 | 238 |
236 protected: | 239 protected: |
237 virtual ~VideoSendStream() {} | 240 virtual ~VideoSendStream() {} |
238 }; | 241 }; |
239 | 242 |
240 } // namespace webrtc | 243 } // namespace webrtc |
241 | 244 |
242 #endif // WEBRTC_VIDEO_SEND_STREAM_H_ | 245 #endif // WEBRTC_VIDEO_SEND_STREAM_H_ |
OLD | NEW |