Use old AcknowledgedBitrateEstimator in RtcEventLog simulations

Bug: webrtc:13402
Change-Id: I960e419c1d8e275c99ced60989fbc79f750786fd
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/318880
Commit-Queue: Björn Terelius <terelius@webrtc.org>
Reviewed-by: Per Kjellander <perkj@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#40707}
This commit is contained in:
Björn Terelius 2023-09-04 16:21:50 +02:00 committed by WebRTC LUCI CQ
parent a717c7ada8
commit e31315bd05

View file

@ -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<AcknowledgedBitrateEstimatorInterface>
robust_throughput_estimator(
AcknowledgedBitrateEstimatorInterface::Create(&throughput_config));
FieldTrialBasedConfig field_trial_config;
test::ExplicitKeyValueConfig acked_bitrate_config(
"WebRTC-Bwe-RobustThroughputEstimatorSettings/enabled:false/");
std::unique_ptr<AcknowledgedBitrateEstimatorInterface>
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;