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

Unified Diff: webrtc/audio/audio_receive_stream.cc

Issue 1604563002: Add send-side BWE to WebRtcVoiceEngine under a finch experiment. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Remove RecreateAudioReceiveStream(). 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/audio/audio_receive_stream.cc
diff --git a/webrtc/audio/audio_receive_stream.cc b/webrtc/audio/audio_receive_stream.cc
index ebe271367b6a9ec4d7a2e56c71e00cfefdea0d5f..9d84f9a4eb75bf9b99854c65e85b32281140799c 100644
--- a/webrtc/audio/audio_receive_stream.cc
+++ b/webrtc/audio/audio_receive_stream.cc
@@ -73,8 +73,6 @@ std::string AudioReceiveStream::Config::ToString() const {
if (!sync_group.empty()) {
ss << ", sync_group: " << sync_group;
}
- ss << ", combined_audio_video_bwe: "
- << (combined_audio_video_bwe ? "true" : "false");
ss << '}';
return ss.str();
}
@@ -119,15 +117,9 @@ AudioReceiveStream::AudioReceiveStream(
// Configure bandwidth estimation.
channel_proxy_->SetCongestionControlObjects(
nullptr, nullptr, congestion_controller->packet_router());
- if (config.combined_audio_video_bwe) {
- if (UseSendSideBwe(config)) {
- remote_bitrate_estimator_ =
- congestion_controller->GetRemoteBitrateEstimator(true);
- } else {
- remote_bitrate_estimator_ =
- congestion_controller->GetRemoteBitrateEstimator(false);
- }
- RTC_DCHECK(remote_bitrate_estimator_);
+ if (UseSendSideBwe(config)) {
+ remote_bitrate_estimator_ =
+ congestion_controller->GetRemoteBitrateEstimator(true);
}
}

Powered by Google App Engine
This is Rietveld 408576698