Index: webrtc/call/call.cc |
diff --git a/webrtc/call/call.cc b/webrtc/call/call.cc |
index d2bc153d32765f13d89d1a239b5a17c5e7c15c88..afcf546566baab090730869098feced37d5cf722 100644 |
--- a/webrtc/call/call.cc |
+++ b/webrtc/call/call.cc |
@@ -120,8 +120,10 @@ class Call : public webrtc::Call, |
void OnSentPacket(const rtc::SentPacket& sent_packet) override; |
// Implements BitrateObserver. |
- void OnNetworkChanged(uint32_t bitrate_bps, uint8_t fraction_loss, |
- int64_t rtt_ms) override; |
+ void OnNetworkChanged(uint32_t bitrate_bps, |
+ uint8_t fraction_loss, |
+ int64_t rtt_ms, |
+ int64_t probing_interval_ms) override; |
// Implements BitrateAllocator::LimitObserver. |
void OnAllocationLimitsChanged(uint32_t min_send_bitrate_bps, |
@@ -877,19 +879,23 @@ void Call::OnSentPacket(const rtc::SentPacket& sent_packet) { |
congestion_controller_->OnSentPacket(sent_packet); |
} |
-void Call::OnNetworkChanged(uint32_t target_bitrate_bps, uint8_t fraction_loss, |
- int64_t rtt_ms) { |
+void Call::OnNetworkChanged(uint32_t target_bitrate_bps, |
+ uint8_t fraction_loss, |
+ int64_t rtt_ms, |
+ int64_t probing_interval_ms) { |
// TODO(perkj): Consider making sure CongestionController operates on |
// |worker_queue_|. |
if (!worker_queue_.IsCurrent()) { |
- worker_queue_.PostTask([this, target_bitrate_bps, fraction_loss, rtt_ms] { |
- OnNetworkChanged(target_bitrate_bps, fraction_loss, rtt_ms); |
- }); |
+ worker_queue_.PostTask( |
+ [this, target_bitrate_bps, fraction_loss, rtt_ms, probing_interval_ms] { |
+ OnNetworkChanged(target_bitrate_bps, fraction_loss, rtt_ms, |
+ probing_interval_ms); |
+ }); |
return; |
} |
RTC_DCHECK_RUN_ON(&worker_queue_); |
bitrate_allocator_->OnNetworkChanged(target_bitrate_bps, fraction_loss, |
- rtt_ms); |
+ rtt_ms, probing_interval_ms); |
// Ignore updates if bitrate is zero (the aggregate network state is down). |
if (target_bitrate_bps == 0) { |