Index: webrtc/voice_engine/channel_proxy.cc |
diff --git a/webrtc/voice_engine/channel_proxy.cc b/webrtc/voice_engine/channel_proxy.cc |
index 10c88212024aa2ea911c09ccb97bcb2fd15ca65e..d577fb4ea2df8dd2f30859893e1409ef23b55d59 100644 |
--- a/webrtc/voice_engine/channel_proxy.cc |
+++ b/webrtc/voice_engine/channel_proxy.cc |
@@ -158,6 +158,12 @@ void ChannelProxy::SetSink(std::unique_ptr<AudioSinkInterface> sink) { |
channel()->SetSink(std::move(sink)); |
} |
+void ChannelProxy::StartSend() { |
+ RTC_DCHECK(thread_checker_.CalledOnValidThread()); |
+ int32_t error = channel()->StartSend(); |
+ RTC_DCHECK_EQ(0, error); |
Taylor Brandstetter
2016/03/29 01:05:38
Is there a reason to switch from logging an error
the sun
2016/03/31 10:49:47
Yes, there is a reason. AFAICT StartSend() can nev
Taylor Brandstetter
2016/03/31 18:11:26
If it should never fail, it seems like it would ma
the sun
2016/04/01 09:07:46
voe::Channel is still accessed via the legacy VoE
|
+} |
+ |
Channel* ChannelProxy::channel() const { |
RTC_DCHECK(channel_owner_.channel()); |
return channel_owner_.channel(); |