Index: webrtc/video/rtp_stream_receiver.cc |
diff --git a/webrtc/video/rtp_stream_receiver.cc b/webrtc/video/rtp_stream_receiver.cc |
index 499ee0953e69ed90e6f2de6d1d14af47d79e5ace..0085d9415112083c81d753ddfff23dfd9318e6d1 100644 |
--- a/webrtc/video/rtp_stream_receiver.cc |
+++ b/webrtc/video/rtp_stream_receiver.cc |
@@ -116,7 +116,7 @@ RtpStreamReceiver::RtpStreamReceiver( |
complete_frame_callback_(complete_frame_callback), |
keyframe_request_sender_(keyframe_request_sender), |
timing_(timing) { |
- packet_router_->AddRtpModule(rtp_rtcp_.get()); |
+ packet_router_->AddReceiveRtpModule(rtp_rtcp_.get()); |
rtp_receive_statistics_->RegisterRtpStatisticsCallback(receive_stats_proxy); |
rtp_receive_statistics_->RegisterRtcpStatisticsCallback(receive_stats_proxy); |
@@ -203,7 +203,7 @@ RtpStreamReceiver::~RtpStreamReceiver() { |
process_thread_->DeRegisterModule(rtp_rtcp_.get()); |
- packet_router_->RemoveRtpModule(rtp_rtcp_.get()); |
+ packet_router_->RemoveReceiveRtpModule(rtp_rtcp_.get()); |
rtp_rtcp_->SetREMBStatus(false); |
if (config_.rtp.remb) { |
remb_->RemoveReceiveChannel(rtp_rtcp_.get()); |