Index: webrtc/video/rtp_stream_receiver.cc |
diff --git a/webrtc/video/rtp_stream_receiver.cc b/webrtc/video/rtp_stream_receiver.cc |
index 4caf55aa8b40be01ac8fce691a31d58ea07196f7..90e449c3323a03780e7b09fe5428e16bded178d7 100644 |
--- a/webrtc/video/rtp_stream_receiver.cc |
+++ b/webrtc/video/rtp_stream_receiver.cc |
@@ -58,7 +58,6 @@ |
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); |
@@ -186,10 +185,12 @@ |
// 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()); |