chromium/third_party/webrtc/video/render/video_render_frames.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 "video/render/video_render_frames.h"

#include <type_traits>
#include <utility>

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

namespace webrtc {
namespace {
// Don't render frames with timestamp older than 500ms from now.
const int kOldRenderTimestampMS =;
// Don't render frames with timestamp more than 10s into the future.
const int kFutureRenderTimestampMS =;

const uint32_t kEventMaxWaitTimeMs =;
const uint32_t kMinRenderDelayMs =;
const uint32_t kMaxRenderDelayMs =;
const size_t kMaxIncomingFramesBeforeLogged =;

uint32_t EnsureValidRenderDelay(uint32_t render_delay) {}
}  // namespace

VideoRenderFrames::VideoRenderFrames(uint32_t render_delay_ms)
    :{}

VideoRenderFrames::~VideoRenderFrames() {}

int32_t VideoRenderFrames::AddFrame(VideoFrame&& new_frame) {}

absl::optional<VideoFrame> VideoRenderFrames::FrameToRender() {}

uint32_t VideoRenderFrames::TimeToNextFrameRelease() {}

bool VideoRenderFrames::HasPendingFrames() const {}

}  // namespace webrtc