2013-05-16 12:08:03 +00:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2013 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.
|
|
|
|
|
*/
|
2015-12-09 12:13:30 +01:00
|
|
|
#ifndef WEBRTC_TEST_VIDEO_CAPTURER_H_
|
|
|
|
|
#define WEBRTC_TEST_VIDEO_CAPTURER_H_
|
2013-05-16 12:08:03 +00:00
|
|
|
|
2013-05-29 13:41:03 +00:00
|
|
|
#include <stddef.h>
|
|
|
|
|
|
2016-09-16 07:53:41 -07:00
|
|
|
#include "webrtc/media/base/videosourceinterface.h"
|
|
|
|
|
#include "webrtc/video_frame.h"
|
|
|
|
|
|
2013-05-16 12:08:03 +00:00
|
|
|
namespace webrtc {
|
|
|
|
|
|
2013-05-29 13:41:03 +00:00
|
|
|
class Clock;
|
|
|
|
|
|
2013-05-16 12:08:03 +00:00
|
|
|
namespace test {
|
|
|
|
|
|
2016-09-16 07:53:41 -07:00
|
|
|
class VideoCapturer : public rtc::VideoSourceInterface<VideoFrame> {
|
2013-05-16 12:08:03 +00:00
|
|
|
public:
|
|
|
|
|
virtual ~VideoCapturer() {}
|
|
|
|
|
|
|
|
|
|
virtual void Start() = 0;
|
|
|
|
|
virtual void Stop() = 0;
|
|
|
|
|
};
|
|
|
|
|
} // test
|
|
|
|
|
} // webrtc
|
|
|
|
|
|
2015-12-09 12:13:30 +01:00
|
|
|
#endif // WEBRTC_TEST_VIDEO_CAPTURER_H_
|