From e31315bd055aac4a8c7380a84877e0bab2ebd15f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Terelius?= Date: Mon, 4 Sep 2023 16:21:50 +0200 Subject: [PATCH] Use old AcknowledgedBitrateEstimator in RtcEventLog simulations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: webrtc:13402 Change-Id: I960e419c1d8e275c99ced60989fbc79f750786fd Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/318880 Commit-Queue: Björn Terelius Reviewed-by: Per Kjellander Cr-Commit-Position: refs/heads/main@{#40707} --- rtc_tools/rtc_event_log_visualizer/analyzer.cc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/rtc_tools/rtc_event_log_visualizer/analyzer.cc b/rtc_tools/rtc_event_log_visualizer/analyzer.cc index 9907a367e9..d78fea4899 100644 --- a/rtc_tools/rtc_event_log_visualizer/analyzer.cc +++ b/rtc_tools/rtc_event_log_visualizer/analyzer.cc @@ -1364,16 +1364,15 @@ void EventLogAnalyzer::CreateSendSideBweSimulationGraph(Plot* plot) { RateStatistics raw_acked_bitrate(750, 8000); test::ExplicitKeyValueConfig throughput_config( - "WebRTC-Bwe-RobustThroughputEstimatorSettings/" - "enabled:true,required_packets:10," - "window_packets:25,window_duration:1000ms,unacked_weight:1.0/"); + "WebRTC-Bwe-RobustThroughputEstimatorSettings/enabled:true/"); std::unique_ptr robust_throughput_estimator( AcknowledgedBitrateEstimatorInterface::Create(&throughput_config)); - FieldTrialBasedConfig field_trial_config; + test::ExplicitKeyValueConfig acked_bitrate_config( + "WebRTC-Bwe-RobustThroughputEstimatorSettings/enabled:false/"); std::unique_ptr acknowledged_bitrate_estimator( - AcknowledgedBitrateEstimatorInterface::Create(&field_trial_config)); + AcknowledgedBitrateEstimatorInterface::Create(&acked_bitrate_config)); int64_t time_us = std::min({NextRtpTime(), NextRtcpTime(), NextProcessTime()}); int64_t last_update_us = 0;