#include "modules/audio_coding/audio_network_adaptor/channel_controller.h"
#include <algorithm>
#include "rtc_base/checks.h"
namespace webrtc {
ChannelController::Config::Config(size_t num_encoder_channels,
size_t intial_channels_to_encode,
int channel_1_to_2_bandwidth_bps,
int channel_2_to_1_bandwidth_bps)
: … { … }
ChannelController::ChannelController(const Config& config)
: … { … }
ChannelController::~ChannelController() = default;
void ChannelController::UpdateNetworkMetrics(
const NetworkMetrics& network_metrics) { … }
void ChannelController::MakeDecision(AudioEncoderRuntimeConfig* config) { … }
}