Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(106)

Unified Diff: webrtc/modules/congestion_controller/congestion_controller.cc

Issue 2518923003: Pass time constant to bwe smoothing filter. (Closed)
Patch Set: Add probing_interval_ms to NullBitrateObserver. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/congestion_controller/congestion_controller.cc
diff --git a/webrtc/modules/congestion_controller/congestion_controller.cc b/webrtc/modules/congestion_controller/congestion_controller.cc
index accc1411f995487895f1ba35bb1851538c83948b..86ad275d2a9dda48e42a5b76a073efd62fc237d6 100644
--- a/webrtc/modules/congestion_controller/congestion_controller.cc
+++ b/webrtc/modules/congestion_controller/congestion_controller.cc
@@ -342,7 +342,9 @@ void CongestionController::MaybeTriggerOnNetworkChanged() {
bitrate_bps = IsNetworkDown() || IsSendQueueFull() ? 0 : bitrate_bps;
if (HasNetworkParametersToReportChanged(bitrate_bps, fraction_loss, rtt)) {
- observer_->OnNetworkChanged(bitrate_bps, fraction_loss, rtt);
+ observer_->OnNetworkChanged(
+ bitrate_bps, fraction_loss, rtt,
+ transport_feedback_adapter_.GetProbingIntervalMs());
remote_estimator_proxy_.OnBitrateChanged(bitrate_bps);
}
}

Powered by Google App Engine
This is Rietveld 408576698