Index: webrtc/voice_engine/channel_proxy.cc |
diff --git a/webrtc/voice_engine/channel_proxy.cc b/webrtc/voice_engine/channel_proxy.cc |
index 1d67f689a7ac41160130715f79e08ae237a12e59..28a2cc21edc9fda4c9692d9ea00eccee762e65bd 100644 |
--- a/webrtc/voice_engine/channel_proxy.cc |
+++ b/webrtc/voice_engine/channel_proxy.cc |
@@ -249,6 +249,11 @@ void ChannelProxy::DisassociateSendChannel() { |
channel()->set_associate_send_channel(ChannelOwner(nullptr)); |
} |
+void ChannelProxy::AdaptCodec() { |
+ // May be called on either worker thread or network thread. |
+ channel()->AdaptCodec(); |
+} |
+ |
Channel* ChannelProxy::channel() const { |
RTC_DCHECK(channel_owner_.channel()); |
return channel_owner_.channel(); |