| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 #include "webrtc/modules/pacing/alr_detector.h" | 11 #include "webrtc/modules/pacing/alr_detector.h" |
| 12 | 12 |
| 13 #include <string> | 13 #include <string> |
| 14 | 14 |
| 15 #include "webrtc/base/checks.h" |
| 16 #include "webrtc/base/format_macros.h" |
| 17 #include "webrtc/base/logging.h" |
| 15 #include "webrtc/system_wrappers/include/field_trial.h" | 18 #include "webrtc/system_wrappers/include/field_trial.h" |
| 16 #include "webrtc/rtc_base/checks.h" | |
| 17 #include "webrtc/rtc_base/format_macros.h" | |
| 18 #include "webrtc/rtc_base/logging.h" | |
| 19 | 19 |
| 20 namespace { | 20 namespace { |
| 21 // Time period over which outgoing traffic is measured. | 21 // Time period over which outgoing traffic is measured. |
| 22 constexpr int kMeasurementPeriodMs = 500; | 22 constexpr int kMeasurementPeriodMs = 500; |
| 23 | 23 |
| 24 } // namespace | 24 } // namespace |
| 25 | 25 |
| 26 namespace webrtc { | 26 namespace webrtc { |
| 27 | 27 |
| 28 const char* AlrDetector::kScreenshareProbingBweExperimentName = | 28 const char* AlrDetector::kScreenshareProbingBweExperimentName = |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 << ", ALR start usage percent: " | 97 << ", ALR start usage percent: " |
| 98 << settings.alr_start_usage_percent | 98 << settings.alr_start_usage_percent |
| 99 << ", ALR end usage percent: " | 99 << ", ALR end usage percent: " |
| 100 << settings.alr_end_usage_percent; | 100 << settings.alr_end_usage_percent; |
| 101 } | 101 } |
| 102 | 102 |
| 103 return ret; | 103 return ret; |
| 104 } | 104 } |
| 105 | 105 |
| 106 } // namespace webrtc | 106 } // namespace webrtc |
| OLD | NEW |