Index: webrtc/voice_engine/channel_proxy.cc |
diff --git a/webrtc/voice_engine/channel_proxy.cc b/webrtc/voice_engine/channel_proxy.cc |
index 15a21512fb819aebcc07e0e0c81e9bc98302576a..1e2281aef4af21c2ddf5999f86fbb44bee3daf7a 100644 |
--- a/webrtc/voice_engine/channel_proxy.cc |
+++ b/webrtc/voice_engine/channel_proxy.cc |
@@ -79,15 +79,26 @@ void ChannelProxy::EnableReceiveTransportSequenceNumber(int id) { |
channel()->EnableReceiveTransportSequenceNumber(id); |
} |
-void ChannelProxy::SetCongestionControlObjects( |
+void ChannelProxy::RegisterSenderCongestionControlObjects( |
RtpPacketSender* rtp_packet_sender, |
TransportFeedbackObserver* transport_feedback_observer, |
PacketRouter* packet_router) { |
RTC_DCHECK(thread_checker_.CalledOnValidThread()); |
- channel()->SetCongestionControlObjects( |
+ channel()->RegisterSenderCongestionControlObjects( |
rtp_packet_sender, transport_feedback_observer, packet_router); |
} |
+void ChannelProxy::RegisterReceiverCongestionControlObjects( |
+ PacketRouter* packet_router) { |
+ RTC_DCHECK(thread_checker_.CalledOnValidThread()); |
+ channel()->RegisterReceiverCongestionControlObjects(packet_router); |
+} |
+ |
+void ChannelProxy::ResetCongestionControlObjects() { |
+ RTC_DCHECK(thread_checker_.CalledOnValidThread()); |
+ channel()->ResetCongestionControlObjects(); |
+} |
+ |
CallStatistics ChannelProxy::GetRTCPStatistics() const { |
RTC_DCHECK(thread_checker_.CalledOnValidThread()); |
CallStatistics stats = {0}; |