chromium/third_party/blink/renderer/platform/peerconnection/stats_collector.cc

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/platform/peerconnection/stats_collector.h"

#include <algorithm>

#include "base/check.h"
#include "base/logging.h"
#include "media/base/video_codecs.h"

namespace blink {
namespace {
// Histogram parameters.
constexpr float kProcessingTimeHistogramMinValue_ms =;
constexpr float kProcessingTimeHistogramMaxValue_ms =;
constexpr wtf_size_t kProcessingTimeHistogramBuckets =;
constexpr float kProcessingTimePercentileToReport =;

// Report intermediate results every 15 seconds.
constexpr base::TimeDelta kProcessingStatsReportingPeriod =;

}  // namespace

StatsCollector::StatsCollector(bool is_decode,
                               media::VideoCodecProfile codec_profile,
                               StoreProcessingStatsCB stats_callback)
    :{}

void StatsCollector::StartStatsCollection() {}

void StatsCollector::ClearStatsCollection() {}

void StatsCollector::ReportStats() const {}

void StatsCollector::AddProcessingTime(int pixel_size,
                                       bool is_hardware_accelerated,
                                       const float processing_time_ms,
                                       size_t new_keyframes,
                                       const base::TimeTicks& now) {}

}  // namespace blink