chromium/third_party/webrtc/video/send_delay_stats.cc

/*
 *  Copyright (c) 2016 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 "video/send_delay_stats.h"

#include <utility>

#include "rtc_base/logging.h"
#include "system_wrappers/include/metrics.h"

namespace webrtc {
namespace {
// Packet with a larger delay are removed and excluded from the delay stats.
// Set to larger than max histogram delay which is 10 seconds.
constexpr TimeDelta kMaxSentPacketDelay =;
constexpr size_t kMaxPacketMapSize =;

// Limit for the maximum number of streams to calculate stats for.
constexpr size_t kMaxSsrcMapSize =;
constexpr int kMinRequiredPeriodicSamples =;
}  // namespace

SendDelayStats::SendDelayStats(Clock* clock)
    :{}

SendDelayStats::~SendDelayStats() {}

void SendDelayStats::UpdateHistograms() {}

void SendDelayStats::AddSsrcs(const VideoSendStream::Config& config) {}

void SendDelayStats::OnSendPacket(uint16_t packet_id,
                                  Timestamp capture_time,
                                  uint32_t ssrc) {}

bool SendDelayStats::OnSentPacket(int packet_id, Timestamp time) {}

void SendDelayStats::RemoveOld(Timestamp now) {}

}  // namespace webrtc