mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-12 21:30:45 +01:00
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:
parent
a717c7ada8
commit
e31315bd05
1 changed files with 4 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue