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

Unified Diff: webrtc/video/video_send_stream.cc

Issue 1392513002: Disable pacer disabling. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 2 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 16d80da649198b314ed03c1063edb7b33ab354a5..b9e259ba6015da5861afa5d8341e1a9b52b99146 100644
--- a/webrtc/video/video_send_stream.cc
+++ b/webrtc/video/video_send_stream.cc
@@ -183,14 +183,8 @@ VideoSendStream::VideoSendStream(
if (config_.post_encode_callback)
vie_encoder_->RegisterPostEncodeImageCallback(&encoded_frame_proxy_);
- if (config_.suspend_below_min_bitrate) {
+ if (config_.suspend_below_min_bitrate)
vie_encoder_->SuspendBelowMinBitrate();
- // Must enable pacing when enabling SuspendBelowMinBitrate. Otherwise, no
- // padding will be sent when the video is suspended so the video will be
- // unable to recover.
- // TODO(pbos): Pacing should probably be enabled outside of VideoSendStream.
- vie_channel_->SetTransmissionSmoothingStatus(true);
- }
vie_channel_->RegisterSendChannelRtcpStatisticsCallback(&stats_proxy_);
vie_channel_->RegisterSendChannelRtpStatisticsCallback(&stats_proxy_);

Powered by Google App Engine
This is Rietveld 408576698