Index: webrtc/modules/bitrate_controller/include/bitrate_allocator.h |
diff --git a/webrtc/modules/bitrate_controller/include/bitrate_allocator.h b/webrtc/modules/bitrate_controller/include/bitrate_allocator.h |
index 5c58f569d232699cd33136e3405d7acfe7c7235a..f9cb1fc54018f2acb27a26814f18361ea1303bd0 100644 |
--- a/webrtc/modules/bitrate_controller/include/bitrate_allocator.h |
+++ b/webrtc/modules/bitrate_controller/include/bitrate_allocator.h |
@@ -31,9 +31,12 @@ class BitrateAllocator { |
public: |
BitrateAllocator(); |
- void OnNetworkChanged(uint32_t target_bitrate, |
- uint8_t fraction_loss, |
- int64_t rtt); |
+ // Allocate target_bitrate across the registered BitrateObservers. |
+ // Returns actual bitrate allocated (might be higher than target_bitrate if |
+ // for instance EnforceMinBitrate() is enabled. |
+ uint32_t OnNetworkChanged(uint32_t target_bitrate, |
+ uint8_t fraction_loss, |
+ int64_t rtt); |
// Set the start and max send bitrate used by the bandwidth management. |
// |