chromium/remoting/protocol/webrtc_frame_scheduler_constant_rate.h

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

#ifndef REMOTING_PROTOCOL_WEBRTC_FRAME_SCHEDULER_CONSTANT_RATE_H_
#define REMOTING_PROTOCOL_WEBRTC_FRAME_SCHEDULER_CONSTANT_RATE_H_

#include "remoting/protocol/webrtc_frame_scheduler.h"

#include "base/sequence_checker.h"
#include "base/thread_annotations.h"
#include "base/timer/timer.h"

namespace remoting::protocol {

// WebrtcFrameSchedulerConstantRate is an implementation of WebrtcFrameScheduler
// that captures frames at a fixed rate. It uses the maximum frame rate provided
// by SetMaxFramerateFps().
class WebrtcFrameSchedulerConstantRate : public WebrtcFrameScheduler {};

}  // namespace remoting::protocol

#endif  // REMOTING_PROTOCOL_WEBRTC_FRAME_SCHEDULER_CONSTANT_RATE_H_