#include "modules/audio_coding/audio_network_adaptor/event_log_writer.h"
#include <math.h>
#include <algorithm>
#include <cstdlib>
#include <memory>
#include <utility>
#include "absl/types/optional.h"
#include "api/rtc_event_log/rtc_event.h"
#include "api/rtc_event_log/rtc_event_log.h"
#include "logging/rtc_event_log/events/rtc_event_audio_network_adaptation.h"
#include "rtc_base/checks.h"
namespace webrtc {
EventLogWriter::EventLogWriter(RtcEventLog* event_log,
int min_bitrate_change_bps,
float min_bitrate_change_fraction,
float min_packet_loss_change_fraction)
: … { … }
EventLogWriter::~EventLogWriter() = default;
void EventLogWriter::MaybeLogEncoderConfig(
const AudioEncoderRuntimeConfig& config) { … }
void EventLogWriter::LogEncoderConfig(const AudioEncoderRuntimeConfig& config) { … }
}