Index: audio/audio_receive_stream.cc |
diff --git a/audio/audio_receive_stream.cc b/audio/audio_receive_stream.cc |
index 37985d8f41fbdda2f8ab48bae3b3f3eab4116512..704c86ec3a17f0fd721277f283ad168a09b15710 100644 |
--- a/audio/audio_receive_stream.cc |
+++ b/audio/audio_receive_stream.cc |
@@ -94,7 +94,7 @@ AudioReceiveStream::AudioReceiveStream( |
RTC_CHECK_EQ(config.decoder_factory, |
channel_proxy_->GetAudioDecoderFactory()); |
- channel_proxy_->RegisterExternalTransport(config.rtcp_send_transport); |
+ channel_proxy_->RegisterTransport(config.rtcp_send_transport); |
channel_proxy_->SetReceiveCodecs(config.decoder_map); |
for (const auto& extension : config.rtp.extensions) { |
@@ -122,7 +122,7 @@ AudioReceiveStream::~AudioReceiveStream() { |
Stop(); |
} |
channel_proxy_->DisassociateSendChannel(); |
- channel_proxy_->DeRegisterExternalTransport(); |
+ channel_proxy_->RegisterTransport(nullptr); |
channel_proxy_->ResetReceiverCongestionControlObjects(); |
channel_proxy_->SetRtcEventLog(nullptr); |
} |