OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 #ifndef WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_OVERUSE_DETECTOR_H_ | 10 #ifndef WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_OVERUSE_DETECTOR_H_ |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 // Must be first member variable. Cannot be const because we need to be | 52 // Must be first member variable. Cannot be const because we need to be |
53 // copyable. | 53 // copyable. |
54 webrtc::OverUseDetectorOptions options_; | 54 webrtc::OverUseDetectorOptions options_; |
55 double threshold_; | 55 double threshold_; |
56 int64_t last_update_ms_; | 56 int64_t last_update_ms_; |
57 double prev_offset_; | 57 double prev_offset_; |
58 double time_over_using_; | 58 double time_over_using_; |
59 int overuse_counter_; | 59 int overuse_counter_; |
60 BandwidthUsage hypothesis_; | 60 BandwidthUsage hypothesis_; |
61 | 61 |
62 DISALLOW_COPY_AND_ASSIGN(OveruseDetector); | 62 RTC_DISALLOW_COPY_AND_ASSIGN(OveruseDetector); |
63 }; | 63 }; |
64 } // namespace webrtc | 64 } // namespace webrtc |
65 | 65 |
66 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_OVERUSE_DETECTOR_H_ | 66 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_OVERUSE_DETECTOR_H_ |
OLD | NEW |