blob: 9b761eb2a5f4b10f75d6c49a52cc47ef5a9d8740 [file] [log] [blame]
pbos@webrtc.org29d58392013-05-16 12:08:03 +00001/*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
Peter Boström7623ce42015-12-09 12:13:30 +010010#ifndef WEBRTC_TEST_VIDEO_CAPTURER_H_
11#define WEBRTC_TEST_VIDEO_CAPTURER_H_
pbos@webrtc.org29d58392013-05-16 12:08:03 +000012
pbos@webrtc.org26d12102013-05-29 13:41:03 +000013#include <stddef.h>
14
perkja49cbd32016-09-16 07:53:41 -070015#include "webrtc/media/base/videosourceinterface.h"
16#include "webrtc/video_frame.h"
17
pbos@webrtc.org29d58392013-05-16 12:08:03 +000018namespace webrtc {
19
pbos@webrtc.org26d12102013-05-29 13:41:03 +000020class Clock;
21
pbos@webrtc.org29d58392013-05-16 12:08:03 +000022namespace test {
23
perkja49cbd32016-09-16 07:53:41 -070024class VideoCapturer : public rtc::VideoSourceInterface<VideoFrame> {
pbos@webrtc.org29d58392013-05-16 12:08:03 +000025 public:
pbos@webrtc.org29d58392013-05-16 12:08:03 +000026 virtual ~VideoCapturer() {}
27
28 virtual void Start() = 0;
29 virtual void Stop() = 0;
pbos@webrtc.org29d58392013-05-16 12:08:03 +000030};
31} // test
32} // webrtc
33
Peter Boström7623ce42015-12-09 12:13:30 +010034#endif // WEBRTC_TEST_VIDEO_CAPTURER_H_