| 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..b7311266efd2c607825ea6814918465eed4ca66f 100644
|
| --- a/webrtc/audio/audio_receive_stream.cc
|
| +++ b/webrtc/audio/audio_receive_stream.cc
|
| @@ -117,8 +117,8 @@ AudioReceiveStream::AudioReceiveStream(
|
| }
|
| }
|
| // Configure bandwidth estimation.
|
| - channel_proxy_->SetCongestionControlObjects(
|
| - nullptr, nullptr, congestion_controller->packet_router());
|
| + channel_proxy_->RegisterReceiverCongestionControlObjects(
|
| + congestion_controller->packet_router());
|
| if (config.combined_audio_video_bwe) {
|
| if (UseSendSideBwe(config)) {
|
| remote_bitrate_estimator_ =
|
| @@ -134,7 +134,7 @@ AudioReceiveStream::AudioReceiveStream(
|
| AudioReceiveStream::~AudioReceiveStream() {
|
| RTC_DCHECK(thread_checker_.CalledOnValidThread());
|
| LOG(LS_INFO) << "~AudioReceiveStream: " << config_.ToString();
|
| - channel_proxy_->SetCongestionControlObjects(nullptr, nullptr, nullptr);
|
| + channel_proxy_->ResetCongestionControlObjects();
|
| if (remote_bitrate_estimator_) {
|
| remote_bitrate_estimator_->RemoveStream(config_.rtp.remote_ssrc);
|
| }
|
|
|