Index: webrtc/voice_engine/channel_proxy.cc |
diff --git a/webrtc/voice_engine/channel_proxy.cc b/webrtc/voice_engine/channel_proxy.cc |
index 215d931f1ad3a04093a4ead22e779ff02237ae11..8c942f37019e75e91a90ea4728b35be95cae0f96 100644 |
--- a/webrtc/voice_engine/channel_proxy.cc |
+++ b/webrtc/voice_engine/channel_proxy.cc |
@@ -158,6 +158,11 @@ bool ChannelProxy::SendTelephoneEventOutband(int event, int duration_ms) { |
return channel()->SendTelephoneEventOutband(event, duration_ms) == 0; |
} |
+void ChannelProxy::SetBitrate(int bitrate_bps) { |
+ // May be called on different threads and needs to be handled by the channel. |
+ channel()->SetBitRate(bitrate_bps); |
+} |
+ |
void ChannelProxy::SetSink(std::unique_ptr<AudioSinkInterface> sink) { |
RTC_DCHECK(thread_checker_.CalledOnValidThread()); |
channel()->SetSink(std::move(sink)); |