#include "call/receive_time_calculator.h"
#include <memory>
#include <string>
#include <type_traits>
#include "rtc_base/experiments/field_trial_parser.h"
#include "rtc_base/numerics/safe_minmax.h"
namespace webrtc {
namespace {
const char kBweReceiveTimeCorrection[] = …;
}
ReceiveTimeCalculatorConfig::ReceiveTimeCalculatorConfig(
const FieldTrialsView& field_trials)
: … { … }
ReceiveTimeCalculatorConfig::ReceiveTimeCalculatorConfig(
const ReceiveTimeCalculatorConfig&) = default;
ReceiveTimeCalculatorConfig::~ReceiveTimeCalculatorConfig() = default;
ReceiveTimeCalculator::ReceiveTimeCalculator(
const FieldTrialsView& field_trials)
: … { … }
std::unique_ptr<ReceiveTimeCalculator>
ReceiveTimeCalculator::CreateFromFieldTrial(
const FieldTrialsView& field_trials) { … }
int64_t ReceiveTimeCalculator::ReconcileReceiveTimes(int64_t packet_time_us,
int64_t system_time_us,
int64_t safe_time_us) { … }
}