#include "modules/remote_bitrate_estimator/inter_arrival.h"
#include "modules/include/module_common_types_public.h"
#include "rtc_base/logging.h"
namespace webrtc {
static const int kBurstDeltaThresholdMs = …;
static const int kMaxBurstDurationMs = …;
InterArrival::InterArrival(uint32_t timestamp_group_length_ticks,
double timestamp_to_ms_coeff)
: … { … }
bool InterArrival::ComputeDeltas(uint32_t timestamp,
int64_t arrival_time_ms,
int64_t system_time_ms,
size_t packet_size,
uint32_t* timestamp_delta,
int64_t* arrival_time_delta_ms,
int* packet_size_delta) { … }
bool InterArrival::PacketInOrder(uint32_t timestamp) { … }
bool InterArrival::NewTimestampGroup(int64_t arrival_time_ms,
uint32_t timestamp) const { … }
bool InterArrival::BelongsToBurst(int64_t arrival_time_ms,
uint32_t timestamp) const { … }
void InterArrival::Reset() { … }
}