OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 // Triggers a new estimate calculation. | 49 // Triggers a new estimate calculation. |
50 void UpdateEstimate(int64_t time_now) | 50 void UpdateEstimate(int64_t time_now) |
51 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_.get()); | 51 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_.get()); |
52 | 52 |
53 void GetSsrcs(std::vector<uint32_t>* ssrcs) const | 53 void GetSsrcs(std::vector<uint32_t>* ssrcs) const |
54 SHARED_LOCKS_REQUIRED(crit_sect_.get()); | 54 SHARED_LOCKS_REQUIRED(crit_sect_.get()); |
55 | 55 |
56 Clock* clock_; | 56 Clock* clock_; |
57 SsrcOveruseEstimatorMap overuse_detectors_ GUARDED_BY(crit_sect_.get()); | 57 SsrcOveruseEstimatorMap overuse_detectors_ GUARDED_BY(crit_sect_.get()); |
58 RateStatistics incoming_bitrate_ GUARDED_BY(crit_sect_.get()); | 58 RateStatistics incoming_bitrate_ GUARDED_BY(crit_sect_.get()); |
| 59 uint32_t last_valid_incoming_bitrate_ GUARDED_BY(crit_sect_.get()); |
59 std::unique_ptr<AimdRateControl> remote_rate_ GUARDED_BY(crit_sect_.get()); | 60 std::unique_ptr<AimdRateControl> remote_rate_ GUARDED_BY(crit_sect_.get()); |
60 RemoteBitrateObserver* observer_ GUARDED_BY(crit_sect_.get()); | 61 RemoteBitrateObserver* observer_ GUARDED_BY(crit_sect_.get()); |
61 std::unique_ptr<CriticalSectionWrapper> crit_sect_; | 62 std::unique_ptr<CriticalSectionWrapper> crit_sect_; |
62 int64_t last_process_time_; | 63 int64_t last_process_time_; |
63 int64_t process_interval_ms_ GUARDED_BY(crit_sect_.get()); | 64 int64_t process_interval_ms_ GUARDED_BY(crit_sect_.get()); |
64 | 65 |
65 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RemoteBitrateEstimatorSingleStream); | 66 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RemoteBitrateEstimatorSingleStream); |
66 }; | 67 }; |
67 | 68 |
68 } // namespace webrtc | 69 } // namespace webrtc |
69 | 70 |
70 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_REMOTE_BITRATE_ESTIMATOR_SING
LE_STREAM_H_ | 71 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_REMOTE_BITRATE_ESTIMATOR_SING
LE_STREAM_H_ |
OLD | NEW |