Index: webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.h |
diff --git a/webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.h b/webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.h |
index 84ee882982bdd465ede7b9a3923cea8f6969e984..b336dd8fa4dda5fd41d6be7f5b88bb59eaf0e90e 100644 |
--- a/webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.h |
+++ b/webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.h |
@@ -69,13 +69,15 @@ class SendSideBandwidthEstimation { |
// min bitrate used during last kBweIncreaseIntervalMs. |
void UpdateMinHistory(int64_t now_ms); |
+ void CapAndLogBitrate(int64_t now_ms, uint32_t bitrate_bps); |
+ |
std::deque<std::pair<int64_t, uint32_t> > min_bitrate_history_; |
// incoming filters |
int lost_packets_since_last_loss_update_Q8_; |
int expected_packets_since_last_loss_update_; |
- uint32_t bitrate_; |
+ uint32_t current_bitrate_bps_; |
uint32_t min_bitrate_configured_; |
uint32_t max_bitrate_configured_; |
int64_t last_low_bitrate_log_ms_; |