Index: webrtc/audio/audio_send_stream.cc |
diff --git a/webrtc/audio/audio_send_stream.cc b/webrtc/audio/audio_send_stream.cc |
index 62121c63a5f06a92499086f134e895507678f1da..f3696392c8ca74c0f6d313fd1b26444c5836292c 100644 |
--- a/webrtc/audio/audio_send_stream.cc |
+++ b/webrtc/audio/audio_send_stream.cc |
@@ -67,7 +67,8 @@ AudioSendStream::AudioSendStream( |
RTC_DCHECK(congestion_controller); |
VoiceEngineImpl* voe_impl = static_cast<VoiceEngineImpl*>(voice_engine()); |
- channel_proxy_ = voe_impl->GetChannelProxy(config_.voe_channel_id); |
+ channel_proxy_ = |
+ rtc::UniqueToScoped(voe_impl->GetChannelProxy(config_.voe_channel_id)); |
channel_proxy_->RegisterSenderCongestionControlObjects( |
congestion_controller->pacer(), |
congestion_controller->GetTransportFeedbackObserver(), |