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

Unified Diff: webrtc/video/video_send_stream.cc

Issue 2504023002: Implement periodic bandwidth probing in application-limited region. (Closed)
Patch Set: address feedback Created 4 years, 1 month 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 51c9dad13160a4cbbc454e6576db27fb4274b3aa..6036e6c466c6bb5313e7f6633a29a1528a9d2878 100644
--- a/webrtc/video/video_send_stream.cc
+++ b/webrtc/video/video_send_stream.cc
@@ -748,6 +748,9 @@ VideoSendStreamImpl::VideoSendStreamImpl(
RTC_DCHECK(congestion_controller_);
RTC_DCHECK(remb_);
+ if (config_->periodic_alr_bandwidth_probing)
+ congestion_controller_->EnablePeriodicProbing(true);
+
// RTP/RTCP initialization.
for (RtpRtcp* rtp_rtcp : rtp_rtcp_modules_) {
congestion_controller_->packet_router()->AddRtpModule(rtp_rtcp);

Powered by Google App Engine
This is Rietveld 408576698