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

Unified Diff: webrtc/video/video_send_stream.cc

Issue 2725823002: Move delay_based_bwe_ into CongestionController (Closed)
Patch Set: More refactoring + UTs moved. Created 3 years, 10 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/video/video_send_stream.cc
diff --git a/webrtc/video/video_send_stream.cc b/webrtc/video/video_send_stream.cc
index 466b5c2f00ad0f7adb7ff6947456d9ef5632431d..aff1bbebc31a028910d9d9027eab3e057dc8fe38 100644
--- a/webrtc/video/video_send_stream.cc
+++ b/webrtc/video/video_send_stream.cc
@@ -758,7 +758,8 @@ VideoSendStreamImpl::VideoSendStreamImpl(
int initial_encoder_max_bitrate,
std::map<uint32_t, RtpState> suspended_ssrcs)
: send_side_bwe_with_overhead_(webrtc::field_trial::FindFullName(
- "WebRTC-SendSideBwe-WithOverhead") == "Enabled"),
+ "WebRTC-SendSideBwe-WithOverhead") ==
+ "Enabled"),
stats_proxy_(stats_proxy),
config_(config),
suspended_ssrcs_(std::move(suspended_ssrcs)),
@@ -786,7 +787,7 @@ VideoSendStreamImpl::VideoSendStreamImpl(
config_->send_transport,
&encoder_feedback_,
bandwidth_observer_.get(),
- congestion_controller_->GetTransportFeedbackObserver(),
+ congestion_controller_,
call_stats_->rtcp_rtt_stats(),
congestion_controller_->pacer(),
packet_router_,

Powered by Google App Engine
This is Rietveld 408576698