Commit 9deb07e9 authored by Byron Campen's avatar Byron Campen
Browse files

Bug 1822194 - Vendor libwebrtc from a7013ee650

Upstream commit: https://webrtc.googlesource.com/src/+/a7013ee65056fd45cecbd1659053e0bafcc6e460
    Remove unused field trial WebRTC-Bwe-LossBasedStableRate

    Originally submitted here: https://webrtc.googlesource.com/src/+/350a82aec3556cfab385e41b67ab4f26f2fb0151

    Bug: None
    Change-Id: Id464770b089122e2cf13ce2d841f7114aa9eb9d2
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/284942


    Commit-Queue: Per Kjellander <perkj@webrtc.org>
    Reviewed-by: default avatarJonas Oreland <jonaso@webrtc.org>
    Commit-Queue: Jonas Oreland <jonaso@webrtc.org>
    Auto-Submit: Per Kjellander <perkj@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#38726}
parent 78a85179
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -19779,3 +19779,6 @@ b05968e5ec
# MOZ_LIBWEBRTC_SRC=/home/bcampen/checkouts/moz-libwebrtc MOZ_LIBWEBRTC_BRANCH=mozpatches bash dom/media/webrtc/third_party_build/fast-forward-libwebrtc.sh
# base of lastest vendoring
75170be4ac
# MOZ_LIBWEBRTC_SRC=/home/bcampen/checkouts/moz-libwebrtc MOZ_LIBWEBRTC_BRANCH=mozpatches bash dom/media/webrtc/third_party_build/fast-forward-libwebrtc.sh
# base of lastest vendoring
a7013ee650
+2 −0
Original line number Diff line number Diff line
@@ -13208,3 +13208,5 @@ libwebrtc updated from /home/bcampen/checkouts/moz-libwebrtc commit mozpatches o
libwebrtc updated from /home/bcampen/checkouts/moz-libwebrtc commit mozpatches on 2023-04-01T00:05:32.314977.
# ./mach python dom/media/webrtc/third_party_build/vendor-libwebrtc.py --from-local /home/bcampen/checkouts/moz-libwebrtc --commit mozpatches libwebrtc
libwebrtc updated from /home/bcampen/checkouts/moz-libwebrtc commit mozpatches on 2023-04-01T00:11:29.757143.
# ./mach python dom/media/webrtc/third_party_build/vendor-libwebrtc.py --from-local /home/bcampen/checkouts/moz-libwebrtc --commit mozpatches libwebrtc
libwebrtc updated from /home/bcampen/checkouts/moz-libwebrtc commit mozpatches on 2023-04-01T00:12:50.725985.
+1 −7
Original line number Diff line number Diff line
@@ -93,8 +93,6 @@ GoogCcNetworkController::GoogCcNetworkController(NetworkControllerConfig config,
                    "WebRTC-Bwe-LimitProbesLowerThanThroughputEstimate")),
      rate_control_settings_(
          RateControlSettings::ParseFromKeyValueConfig(key_value_config_)),
      loss_based_stable_rate_(
          IsEnabled(key_value_config_, "WebRTC-Bwe-LossBasedStableRate")),
      pace_at_max_of_bwe_and_lower_link_capacity_(
          IsEnabled(key_value_config_,
                    "WebRTC-Bwe-PaceAtMaxOfBweAndLowerLinkCapacity")),
@@ -643,11 +641,7 @@ void GoogCcNetworkController::MaybeTriggerOnNetworkChanged(
  }
  DataRate stable_target_rate =
      bandwidth_estimation_->GetEstimatedLinkCapacity();
  if (loss_based_stable_rate_) {
    stable_target_rate = std::min(stable_target_rate, loss_based_target_rate);
  } else {
  stable_target_rate = std::min(stable_target_rate, pushback_target_rate);
  }

  if ((loss_based_target_rate != last_loss_based_target_rate_) ||
      (fraction_loss != last_estimated_fraction_loss_) ||
+0 −1
Original line number Diff line number Diff line
@@ -93,7 +93,6 @@ class GoogCcNetworkController : public NetworkControllerInterface {
  const bool ignore_probes_lower_than_network_estimate_;
  const bool limit_probes_lower_than_throughput_estimate_;
  const RateControlSettings rate_control_settings_;
  const bool loss_based_stable_rate_;
  const bool pace_at_max_of_bwe_and_lower_link_capacity_;

  const std::unique_ptr<ProbeController> probe_controller_;