diff --git a/modules/congestion_controller/goog_cc/goog_cc_network_control.cc b/modules/congestion_controller/goog_cc/goog_cc_network_control.cc index efd78b4170..6e4774d167 100644 --- a/modules/congestion_controller/goog_cc/goog_cc_network_control.cc +++ b/modules/congestion_controller/goog_cc/goog_cc_network_control.cc @@ -156,6 +156,7 @@ GoogCcNetworkController::GoogCcNetworkController(RtcEventLog* event_log, max_total_allocated_bitrate_(DataRate::Zero()), in_cwnd_experiment_(CwndExperimentEnabled()), accepted_queue_ms_(kDefaultAcceptedQueueMs) { + RTC_DCHECK(config.constraints.at_time.IsFinite()); delay_based_bwe_->SetMinBitrate(congestion_controller::GetMinBitrateBps()); if (in_cwnd_experiment_ && !ReadCwndExperimentParameter(&accepted_queue_ms_)) { diff --git a/rtc_tools/event_log_visualizer/analyzer.cc b/rtc_tools/event_log_visualizer/analyzer.cc index 74acd62b58..b1a9734827 100644 --- a/rtc_tools/event_log_visualizer/analyzer.cc +++ b/rtc_tools/event_log_visualizer/analyzer.cc @@ -1087,6 +1087,7 @@ void EventLogAnalyzer::CreateSendSideBweSimulationGraph(Plot* plot) { // TODO(holmer): Log the call config and use that here instead. static const uint32_t kDefaultStartBitrateBps = 300000; NetworkControllerConfig cc_config; + cc_config.constraints.at_time = Timestamp::us(clock.TimeInMicroseconds()); cc_config.constraints.starting_rate = DataRate::bps(kDefaultStartBitrateBps); auto goog_cc = factory.Create(cc_config);