Index: webrtc/voice_engine/channel_proxy.cc |
diff --git a/webrtc/voice_engine/channel_proxy.cc b/webrtc/voice_engine/channel_proxy.cc |
index 2dd74facb4f550d5ea357ec6ab081d26b20770c8..3112bbfc117fdb9624024200847ed3a973f8bb92 100644 |
--- a/webrtc/voice_engine/channel_proxy.cc |
+++ b/webrtc/voice_engine/channel_proxy.cc |
@@ -254,6 +254,11 @@ void ChannelProxy::SetRtcpRttStats(RtcpRttStats* rtcp_rtt_stats) { |
channel()->SetRtcpRttStats(rtcp_rtt_stats); |
} |
+void ChannelProxy::AdaptCodec() { |
+ RTC_DCHECK_RUNS_SERIALIZED(&worker_queue_checker_); |
+ channel()->AdaptCodec(); |
+} |
+ |
Channel* ChannelProxy::channel() const { |
RTC_DCHECK(channel_owner_.channel()); |
return channel_owner_.channel(); |