#include "video/rate_utilization_tracker.h"
#include <algorithm>
namespace webrtc {
RateUtilizationTracker::RateUtilizationTracker(
size_t max_num_encoded_data_points,
TimeDelta max_duration)
: … { … }
void RateUtilizationTracker::OnDataRateChanged(DataRate rate, Timestamp time) { … }
void RateUtilizationTracker::OnDataProduced(DataSize size, Timestamp time) { … }
absl::optional<double> RateUtilizationTracker::GetRateUtilizationFactor(
Timestamp time) const { … }
void RateUtilizationTracker::CullOldData(Timestamp time) { … }
}