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

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

Issue 2381833003: Change TWCC send interval to reduce overhead on low BW situations. (Closed)
Patch Set: Rebased Created 4 years, 2 months 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 f7e7e5625a2984500bbb8a8231935181c3f42dc5..f352792c5fa8b1d233b39191ade2e0989f14bc8a 100644
--- a/webrtc/modules/congestion_controller/congestion_controller.cc
+++ b/webrtc/modules/congestion_controller/congestion_controller.cc
@@ -169,7 +169,10 @@ CongestionController::CongestionController(
probe_controller_(new ProbeController(pacer_.get(), clock_)),
retransmission_rate_limiter_(
new RateLimiter(clock, kRetransmitWindowSizeMs)),
- remote_estimator_proxy_(clock_, packet_router_.get()),
+ remote_estimator_proxy_(
+ clock_,
+ packet_router_.get(),
+ std::unique_ptr<rtc::RateTracker>(new rtc::RateTracker(1000, 1))),
transport_feedback_adapter_(clock_, bitrate_controller_.get()),
min_bitrate_bps_(RemoteBitrateEstimator::kDefaultMinBitrateBps),
max_bitrate_bps_(0),
@@ -200,7 +203,10 @@ CongestionController::CongestionController(
probe_controller_(new ProbeController(pacer_.get(), clock_)),
retransmission_rate_limiter_(
new RateLimiter(clock, kRetransmitWindowSizeMs)),
- remote_estimator_proxy_(clock_, packet_router_.get()),
+ remote_estimator_proxy_(
+ clock_,
+ packet_router_.get(),
+ std::unique_ptr<rtc::RateTracker>(new rtc::RateTracker(1000, 1))),
transport_feedback_adapter_(clock_, bitrate_controller_.get()),
min_bitrate_bps_(RemoteBitrateEstimator::kDefaultMinBitrateBps),
max_bitrate_bps_(0),

Powered by Google App Engine
This is Rietveld 408576698