Index: voice_engine/channel_proxy.cc |
diff --git a/voice_engine/channel_proxy.cc b/voice_engine/channel_proxy.cc |
index 15db60d9b9bb8603bfb6fd749783718c4d0a63c6..bea4c0692edd84aa4bcf668f2872a093205320da 100644 |
--- a/voice_engine/channel_proxy.cc |
+++ b/voice_engine/channel_proxy.cc |
@@ -213,15 +213,9 @@ void ChannelProxy::SetInputMute(bool muted) { |
channel()->SetInputMute(muted); |
} |
-void ChannelProxy::RegisterExternalTransport(Transport* transport) { |
+void ChannelProxy::RegisterTransport(Transport* transport) { |
RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); |
- int error = channel()->RegisterExternalTransport(transport); |
- RTC_DCHECK_EQ(0, error); |
-} |
- |
-void ChannelProxy::DeRegisterExternalTransport() { |
- RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); |
- channel()->DeRegisterExternalTransport(); |
+ channel()->RegisterTransport(transport); |
} |
void ChannelProxy::OnRtpPacket(const RtpPacketReceived& packet) { |