chromium/third_party/webrtc/modules/remote_bitrate_estimator/overuse_detector.cc

/*
 *  Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
 *
 *  Use of this source code is governed by a BSD-style license
 *  that can be found in the LICENSE file in the root of the source
 *  tree. An additional intellectual property rights grant can be found
 *  in the file PATENTS.  All contributing project authors may
 *  be found in the AUTHORS file in the root of the source tree.
 */

#include "modules/remote_bitrate_estimator/overuse_detector.h"

#include <math.h>
#include <stdio.h>

#include <algorithm>
#include <string>

#include "rtc_base/checks.h"
#include "rtc_base/numerics/safe_minmax.h"

namespace webrtc {
namespace {

constexpr double kMaxAdaptOffsetMs =;
constexpr double kOverUsingTimeThreshold =;
constexpr int kMaxNumDeltas =;
constexpr double kUp =;
constexpr double kDown =;

}  // namespace

OveruseDetector::OveruseDetector() = default;

BandwidthUsage OveruseDetector::State() const {}

BandwidthUsage OveruseDetector::Detect(double offset,
                                       double ts_delta,
                                       int num_of_deltas,
                                       int64_t now_ms) {}

void OveruseDetector::UpdateThreshold(double modified_offset, int64_t now_ms) {}

}  // namespace webrtc