#include "modules/audio_coding/audio_network_adaptor/frame_length_controller_v2.h"
#include <algorithm>
#include "absl/algorithm/container.h"
#include "rtc_base/checks.h"
namespace webrtc {
namespace {
int OverheadBps(int overhead_bytes_per_packet, int frame_length_ms) { … }
}
FrameLengthControllerV2::FrameLengthControllerV2(
rtc::ArrayView<const int> encoder_frame_lengths_ms,
int min_payload_bitrate_bps,
bool use_slow_adaptation)
: … { … }
void FrameLengthControllerV2::UpdateNetworkMetrics(
const NetworkMetrics& network_metrics) { … }
void FrameLengthControllerV2::MakeDecision(AudioEncoderRuntimeConfig* config) { … }
}