diff options
Diffstat (limited to 'webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.h')
-rw-r--r-- | webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.h b/webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.h index 40061d3ee7..7ffb42cb54 100644 --- a/webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.h +++ b/webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.h @@ -15,10 +15,13 @@ #include <deque> -#include "webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h" +#include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" #include "webrtc/system_wrappers/include/critical_section_wrapper.h" namespace webrtc { + +class RtcEventLog; + class SendSideBandwidthEstimation { public: SendSideBandwidthEstimation(); @@ -42,6 +45,8 @@ class SendSideBandwidthEstimation { void SetMinMaxBitrate(int min_bitrate, int max_bitrate); int GetMinBitrate() const; + void SetEventLog(RtcEventLog* event_log); + private: enum UmaState { kNoUpdate, kFirstDone, kDone }; @@ -81,6 +86,7 @@ class SendSideBandwidthEstimation { int bitrate_at_2_seconds_kbps_; UmaState uma_update_state_; std::vector<bool> rampup_uma_stats_updated_; + RtcEventLog* event_log_; }; } // namespace webrtc #endif // WEBRTC_MODULES_BITRATE_CONTROLLER_SEND_SIDE_BANDWIDTH_ESTIMATION_H_ |