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 * FEC and NACK added bitrate is handled outside class | 10 * FEC and NACK added bitrate is handled outside class |
11 */ | 11 */ |
12 | 12 |
13 #ifndef WEBRTC_MODULES_BITRATE_CONTROLLER_SEND_SIDE_BANDWIDTH_ESTIMATION_H_ | 13 #ifndef WEBRTC_MODULES_BITRATE_CONTROLLER_SEND_SIDE_BANDWIDTH_ESTIMATION_H_ |
14 #define WEBRTC_MODULES_BITRATE_CONTROLLER_SEND_SIDE_BANDWIDTH_ESTIMATION_H_ | 14 #define WEBRTC_MODULES_BITRATE_CONTROLLER_SEND_SIDE_BANDWIDTH_ESTIMATION_H_ |
15 | 15 |
16 #include <deque> | 16 #include <deque> |
17 #include <utility> | 17 #include <utility> |
18 #include <vector> | 18 #include <vector> |
19 | 19 |
20 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" | 20 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" |
21 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" | |
22 | 21 |
23 namespace webrtc { | 22 namespace webrtc { |
24 | 23 |
25 class RtcEventLog; | 24 class RtcEventLog; |
26 | 25 |
27 class SendSideBandwidthEstimation { | 26 class SendSideBandwidthEstimation { |
28 public: | 27 public: |
29 SendSideBandwidthEstimation() = delete; | 28 SendSideBandwidthEstimation() = delete; |
30 explicit SendSideBandwidthEstimation(RtcEventLog* event_log); | 29 explicit SendSideBandwidthEstimation(RtcEventLog* event_log); |
31 virtual ~SendSideBandwidthEstimation(); | 30 virtual ~SendSideBandwidthEstimation(); |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 int initially_lost_packets_; | 95 int initially_lost_packets_; |
97 int bitrate_at_2_seconds_kbps_; | 96 int bitrate_at_2_seconds_kbps_; |
98 UmaState uma_update_state_; | 97 UmaState uma_update_state_; |
99 std::vector<bool> rampup_uma_stats_updated_; | 98 std::vector<bool> rampup_uma_stats_updated_; |
100 RtcEventLog* event_log_; | 99 RtcEventLog* event_log_; |
101 int64_t last_rtc_event_log_ms_; | 100 int64_t last_rtc_event_log_ms_; |
102 bool in_timeout_experiment_; | 101 bool in_timeout_experiment_; |
103 }; | 102 }; |
104 } // namespace webrtc | 103 } // namespace webrtc |
105 #endif // WEBRTC_MODULES_BITRATE_CONTROLLER_SEND_SIDE_BANDWIDTH_ESTIMATION_H_ | 104 #endif // WEBRTC_MODULES_BITRATE_CONTROLLER_SEND_SIDE_BANDWIDTH_ESTIMATION_H_ |
OLD | NEW |