Index: webrtc/modules/pacing/bitrate_prober.cc |
diff --git a/webrtc/modules/pacing/bitrate_prober.cc b/webrtc/modules/pacing/bitrate_prober.cc |
index e2cea7330589729552923e6cbfb7e343ef569e12..936be3929e99b973971de11c3f09769f9f17029b 100644 |
--- a/webrtc/modules/pacing/bitrate_prober.cc |
+++ b/webrtc/modules/pacing/bitrate_prober.cc |
@@ -66,6 +66,7 @@ void BitrateProber::OnIncomingPacket(size_t packet_size) { |
} |
void BitrateProber::CreateProbeCluster(int bitrate_bps, int num_packets) { |
+ RTC_DCHECK(probing_state_ != ProbingState::kDisabled); |
ProbeCluster cluster; |
cluster.max_probe_packets = num_packets; |
cluster.probe_bitrate_bps = bitrate_bps; |