#include "modules/congestion_controller/goog_cc/acknowledged_bitrate_estimator.h"
#include <algorithm>
#include <memory>
#include <utility>
#include <vector>
#include "absl/types/optional.h"
#include "api/field_trials_view.h"
#include "api/transport/network_types.h"
#include "api/units/data_rate.h"
#include "api/units/data_size.h"
#include "api/units/timestamp.h"
#include "modules/congestion_controller/goog_cc/bitrate_estimator.h"
#include "rtc_base/checks.h"
namespace webrtc {
AcknowledgedBitrateEstimator::AcknowledgedBitrateEstimator(
const FieldTrialsView* key_value_config)
: … { … }
AcknowledgedBitrateEstimator::~AcknowledgedBitrateEstimator() { … }
AcknowledgedBitrateEstimator::AcknowledgedBitrateEstimator(
const FieldTrialsView* key_value_config,
std::unique_ptr<BitrateEstimator> bitrate_estimator)
: … { … }
void AcknowledgedBitrateEstimator::IncomingPacketFeedbackVector(
const std::vector<PacketResult>& packet_feedback_vector) { … }
absl::optional<DataRate> AcknowledgedBitrateEstimator::bitrate() const { … }
absl::optional<DataRate> AcknowledgedBitrateEstimator::PeekRate() const { … }
void AcknowledgedBitrateEstimator::SetAlrEndedTime(Timestamp alr_ended_time) { … }
void AcknowledgedBitrateEstimator::SetAlr(bool in_alr) { … }
}