Chromium Code Reviews

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

Issue 2263973004: Set send side bitrate estimate on successful probing attempt. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: webrtc/modules/congestion_controller/delay_based_bwe.cc
diff --git a/webrtc/modules/congestion_controller/delay_based_bwe.cc b/webrtc/modules/congestion_controller/delay_based_bwe.cc
index a7d2788ff862d56ad874ee4b4c77e162f0bd565f..313ab9371b97484b96fbaf7739c5498eb84bafa1 100644
--- a/webrtc/modules/congestion_controller/delay_based_bwe.cc
+++ b/webrtc/modules/congestion_controller/delay_based_bwe.cc
@@ -96,6 +96,7 @@ void DelayBasedBwe::IncomingPacketInfo(const PacketInfo& info) {
probe_bitrate_estimator_.PacketFeedback(info);
if (probe_result.valid()) {
remote_rate_.SetEstimate(probe_result.bps, probe_result.timestamp);
+ observer_->OnProbeBitrate(probe_result.bps);
update_estimate = true;
}
}

Powered by Google App Engine