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

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: Fix a test I forgot to run. 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..56d4bcdd4f916424baf4ce24428e333d014aad29 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 != nullptr);
the sun 2016/01/11 11:47:19 nit: != nullptr not necessary
stefan-webrtc 2016/01/11 17:15:48 Done.
call_stats_->RegisterStatsObserver(remote_bitrate_estimator_.get());
pacer_thread_->RegisterModule(pacer_.get());

Powered by Google App Engine
This is Rietveld 408576698