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

Unified Diff: webrtc/video/video_send_stream.cc

Issue 2504023002: Implement periodic bandwidth probing in application-limited region. (Closed)
Patch Set: . 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..e4465679ac7be284fb8d60d5660efcb664d0f897 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_bandwidth_probing)
philipel 2016/11/16 14:59:15 congestion_controller_->EnablePeriodicProbing(conf
Sergey Ulanov 2016/11/21 09:06:03 Done.
philipel 2016/11/21 12:05:42 Why do we make an assumption about the default val
philipel 2016/11/22 12:31:37 Also, PTAL at this comment.
Sergey Ulanov 2016/11/22 23:21:00 Fixed now. Sorry I missed it last time.
+ 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