OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2016 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 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
385 | 385 |
386 void DelayBasedBwe::SetMinBitrate(int min_bitrate_bps) { | 386 void DelayBasedBwe::SetMinBitrate(int min_bitrate_bps) { |
387 // Called from both the configuration thread and the network thread. Shouldn't | 387 // Called from both the configuration thread and the network thread. Shouldn't |
388 // be called from the network thread in the future. | 388 // be called from the network thread in the future. |
389 rate_control_.SetMinBitrate(min_bitrate_bps); | 389 rate_control_.SetMinBitrate(min_bitrate_bps); |
390 } | 390 } |
391 | 391 |
392 int64_t DelayBasedBwe::GetProbingIntervalMs() const { | 392 int64_t DelayBasedBwe::GetProbingIntervalMs() const { |
393 return probing_interval_estimator_.GetIntervalMs(); | 393 return probing_interval_estimator_.GetIntervalMs(); |
394 } | 394 } |
| 395 |
| 396 void DelayBasedBwe::OnProbingClusterCreated(int cluster_id, |
| 397 int min_bytes, |
| 398 int min_probes) { |
| 399 probe_bitrate_estimator_.OnProbingClusterCreated(cluster_id, min_bytes, |
| 400 min_probes); |
| 401 } |
| 402 |
395 } // namespace webrtc | 403 } // namespace webrtc |
OLD | NEW |