From 1d7bf89ad68c630676365f03c516f02fcf605a95 Mon Sep 17 00:00:00 2001 From: Evan Shrubsole Date: Thu, 14 Feb 2019 10:00:04 +0100 Subject: [PATCH] Add LS_VERBOSE logging for target bitrate in GoogCC This will be used to investigate the effect of congestion window pushback on bandwidth esimation. There is currently no data available in event logs to analyze this in test runs. Bug: None Change-Id: I2397842e90fd4acab6306b03d1ee9daf62469ee3 Reviewed-on: https://webrtc-review.googlesource.com/c/121765 Reviewed-by: Konrad Hofbauer Reviewed-by: Sebastian Jansson Commit-Queue: Evan Shrubsole Cr-Commit-Position: refs/heads/master@{#26681} --- .../congestion_controller/goog_cc/goog_cc_network_control.cc | 4 ++++ 1 file changed, 4 insertions(+) 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 0f81962a88..1ef4a7cfa5 100644 --- a/modules/congestion_controller/goog_cc/goog_cc_network_control.cc +++ b/modules/congestion_controller/goog_cc/goog_cc_network_control.cc @@ -625,6 +625,10 @@ void GoogCcNetworkController::MaybeTriggerOnNetworkChanged( update->probe_cluster_configs.insert(update->probe_cluster_configs.end(), probes.begin(), probes.end()); update->pacer_config = GetPacingRates(at_time); + + RTC_LOG(LS_VERBOSE) << "bwe " << at_time.ms() << " pushback_target_bps=" + << last_pushback_target_rate_.bps() + << " estimate_bps=" << last_raw_target_rate_.bps(); } }