diff options
author | Danil Chapovalov <danilchap@webrtc.org> | 2020-02-18 17:20:40 +0100 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-02-20 09:35:48 +0000 |
commit | 70490aa3a0b08c9342ea9a12d5ac1fa9666fb7fb (patch) | |
tree | 8efd3a01e343e7fcaaee2be5bfea6992f74f172f /modules/congestion_controller | |
parent | e8f4e09be97c6d4dcf8961a109f4952737a095ef (diff) | |
download | webrtc-70490aa3a0b08c9342ea9a12d5ac1fa9666fb7fb.tar.gz |
Delete legacy DataSize and DataRate factories
Bug: webrtc:9709
Change-Id: Ia9464893ec9868c51d72eedaee8efc82b0c17b28
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/168722
Reviewed-by: Sebastian Jansson <srte@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30564}
Diffstat (limited to 'modules/congestion_controller')
-rw-r--r-- | modules/congestion_controller/pcc/pcc_network_controller.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/congestion_controller/pcc/pcc_network_controller.cc b/modules/congestion_controller/pcc/pcc_network_controller.cc index 9801b098b9..8653470955 100644 --- a/modules/congestion_controller/pcc/pcc_network_controller.cc +++ b/modules/congestion_controller/pcc/pcc_network_controller.cc @@ -32,9 +32,8 @@ constexpr int64_t kMinPacketsNumberPerInterval = 20; const TimeDelta kMinDurationOfMonitorInterval = TimeDelta::Millis(50); const TimeDelta kStartupDuration = TimeDelta::Millis(500); constexpr double kMinRateChangeBps = 4000; -constexpr DataRate kMinRateHaveMultiplicativeRateChange = - DataRate::BitsPerSec<static_cast<int64_t>(kMinRateChangeBps / - kDefaultSamplingStep)>(); +constexpr DataRate kMinRateHaveMultiplicativeRateChange = DataRate::BitsPerSec( + static_cast<int64_t>(kMinRateChangeBps / kDefaultSamplingStep)); // Bitrate controller constants. constexpr double kInitialConversionFactor = 5; |