// Copyright 2016 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_TEST_CYCLIC_FRAME_GENERATOR_H_ #define REMOTING_TEST_CYCLIC_FRAME_GENERATOR_H_ #include <map> #include <memory> #include <vector> #include "base/functional/callback.h" #include "base/memory/raw_ptr.h" #include "base/memory/ref_counted.h" #include "base/time/default_tick_clock.h" #include "base/time/time.h" #include "remoting/protocol/input_event_timestamps.h" #include "third_party/webrtc/modules/desktop_capture/desktop_capturer.h" namespace remoting { namespace test { // CyclicFrameGenerator generates a sequence of frames that approximates // properties of a real video stream when using a desktop applications. It // loads a sequence of reference frames and switches between them with the // specified frequency (every 2 seconds by default). Between reference frames it // also generate frames with small changes which simulate a blinking cursor. class CyclicFrameGenerator : public protocol::InputEventTimestampsSource { … }; } // namespace test } // namespace remoting #endif // REMOTING_TEST_CYCLIC_FRAME_GENERATOR_H_