Index: webrtc/modules/rtp_rtcp/source/rtp_sender.cc |
diff --git a/webrtc/modules/rtp_rtcp/source/rtp_sender.cc b/webrtc/modules/rtp_rtcp/source/rtp_sender.cc |
index 0afc8d24389ce876e2304f3e8084d4b1ecc33bcc..3f2371e0d5a95fbd3704ff3c889515ff394915f2 100644 |
--- a/webrtc/modules/rtp_rtcp/source/rtp_sender.cc |
+++ b/webrtc/modules/rtp_rtcp/source/rtp_sender.cc |
@@ -127,6 +127,8 @@ RTPSender::RTPSender( |
csrcs_(), |
rtx_(kRtxOff), |
retransmission_rate_limiter_(retransmission_rate_limiter) { |
+ RTC_DCHECK(retransmission_rate_limiter_ != nullptr); |
+ |
// We need to seed the random generator for BuildPaddingPacket() below. |
// TODO(holmer,tommi): Note that TimeInMilliseconds might return 0 on Mac |
// early on in the process. |