chromium/remoting/protocol/no_op_webrtc_frame_scheduler.cc

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

#include "remoting/protocol/no_op_webrtc_frame_scheduler.h"

#include "base/notreached.h"

namespace remoting::protocol {

NoOpWebrtcFrameScheduler::NoOpWebrtcFrameScheduler(DesktopCapturer* capturer)
    :{}

NoOpWebrtcFrameScheduler::~NoOpWebrtcFrameScheduler() {}

void NoOpWebrtcFrameScheduler::Start(
    const base::RepeatingClosure& capture_callback) {}

void NoOpWebrtcFrameScheduler::Pause(bool pause) {}

void NoOpWebrtcFrameScheduler::OnFrameCaptured(
    const webrtc::DesktopFrame* frame) {}

void NoOpWebrtcFrameScheduler::SetMaxFramerateFps(int max_framerate_fps) {}

void NoOpWebrtcFrameScheduler::BoostCaptureRate(
    base::TimeDelta capture_interval,
    base::TimeDelta duration) {}

}  // namespace remoting::protocol