Index: webrtc/video/rtp_stream_receiver.cc |
diff --git a/webrtc/video/rtp_stream_receiver.cc b/webrtc/video/rtp_stream_receiver.cc |
index 90e449c3323a03780e7b09fe5428e16bded178d7..4caf55aa8b40be01ac8fce691a31d58ea07196f7 100644 |
--- a/webrtc/video/rtp_stream_receiver.cc |
+++ b/webrtc/video/rtp_stream_receiver.cc |
@@ -58,6 +58,7 @@ std::unique_ptr<RtpRtcp> CreateRtpRtcpModule( |
configuration.send_packet_observer = nullptr; |
configuration.bandwidth_callback = nullptr; |
configuration.transport_feedback_callback = nullptr; |
+ configuration.retransmission_rate_limiter = nullptr; |
std::unique_ptr<RtpRtcp> rtp_rtcp(RtpRtcp::CreateRtpRtcp(configuration)); |
rtp_rtcp->SetSendingStatus(false); |
@@ -185,12 +186,10 @@ RtpStreamReceiver::RtpStreamReceiver( |
// Stats callback for CNAME changes. |
rtp_rtcp_->RegisterRtcpStatisticsCallback(receive_stats_proxy); |
- process_thread_->RegisterModule(rtp_receive_statistics_.get()); |
process_thread_->RegisterModule(rtp_rtcp_.get()); |
} |
RtpStreamReceiver::~RtpStreamReceiver() { |
- process_thread_->DeRegisterModule(rtp_receive_statistics_.get()); |
process_thread_->DeRegisterModule(rtp_rtcp_.get()); |
packet_router_->RemoveRtpModule(rtp_rtcp_.get()); |