| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2014 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 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 int64_t response_time_ms) const; | 60 int64_t response_time_ms) const; |
| 61 void UpdateChangePeriod(int64_t now_ms); | 61 void UpdateChangePeriod(int64_t now_ms); |
| 62 void UpdateMaxBitRateEstimate(float incoming_bit_rate_kbps); | 62 void UpdateMaxBitRateEstimate(float incoming_bit_rate_kbps); |
| 63 void ChangeState(const RateControlInput& input, int64_t now_ms); | 63 void ChangeState(const RateControlInput& input, int64_t now_ms); |
| 64 void ChangeState(RateControlState new_state); | 64 void ChangeState(RateControlState new_state); |
| 65 void ChangeRegion(RateControlRegion region); | 65 void ChangeRegion(RateControlRegion region); |
| 66 | 66 |
| 67 uint32_t min_configured_bitrate_bps_; | 67 uint32_t min_configured_bitrate_bps_; |
| 68 uint32_t max_configured_bitrate_bps_; | 68 uint32_t max_configured_bitrate_bps_; |
| 69 uint32_t current_bitrate_bps_; | 69 uint32_t current_bitrate_bps_; |
| 70 uint32_t max_hold_rate_bps_; | |
| 71 float avg_max_bitrate_kbps_; | 70 float avg_max_bitrate_kbps_; |
| 72 float var_max_bitrate_kbps_; | 71 float var_max_bitrate_kbps_; |
| 73 RateControlState rate_control_state_; | 72 RateControlState rate_control_state_; |
| 74 RateControlRegion rate_control_region_; | 73 RateControlRegion rate_control_region_; |
| 75 int64_t time_last_bitrate_change_; | 74 int64_t time_last_bitrate_change_; |
| 76 RateControlInput current_input_; | 75 RateControlInput current_input_; |
| 77 bool updated_; | 76 bool updated_; |
| 78 int64_t time_first_incoming_estimate_; | 77 int64_t time_first_incoming_estimate_; |
| 79 bool bitrate_is_initialized_; | 78 bool bitrate_is_initialized_; |
| 80 float beta_; | 79 float beta_; |
| 81 int64_t rtt_; | 80 int64_t rtt_; |
| 82 int64_t time_of_last_log_; | 81 int64_t time_of_last_log_; |
| 83 bool in_experiment_; | 82 bool in_experiment_; |
| 84 }; | 83 }; |
| 85 } // namespace webrtc | 84 } // namespace webrtc |
| 86 | 85 |
| 87 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_AIMD_RATE_CONTROL_H_ | 86 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_AIMD_RATE_CONTROL_H_ |
| OLD | NEW |