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

Unified Diff: webrtc/call/congestion_controller.cc

Issue 1535963002: Wire-up BWE feedback for audio receive streams. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Comments addressed. Created 4 years, 11 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/call/congestion_controller.cc
diff --git a/webrtc/call/congestion_controller.cc b/webrtc/call/congestion_controller.cc
index c442667ae0e43b5a7482a85c5a5275d69f67d473..c5154634ca973cff888af66bf4f0ca7178568538 100644
--- a/webrtc/call/congestion_controller.cc
+++ b/webrtc/call/congestion_controller.cc
@@ -169,6 +169,7 @@ CongestionController::CongestionController(ProcessThread* process_thread,
BitrateController::CreateBitrateController(Clock::GetRealTimeClock(),
bitrate_observer)),
min_bitrate_bps_(RemoteBitrateEstimator::kDefaultMinBitrateBps) {
+ RTC_DCHECK(bitrate_observer);
mflodman 2016/01/12 12:42:53 I don't this check makes sense here, since it's no
stefan-webrtc 2016/01/12 12:53:18 I'll remove it for now.
call_stats_->RegisterStatsObserver(remote_bitrate_estimator_.get());
pacer_thread_->RegisterModule(pacer_.get());

Powered by Google App Engine
This is Rietveld 408576698