blob: c142998a1d265545f3586fc54c6ae559b82d42f8 [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 */
10#ifndef WEBRTC_VIDEO_ENGINE_TEST_COMMON_VIDEO_CAPTURER_H_
11#define WEBRTC_VIDEO_ENGINE_TEST_COMMON_VIDEO_CAPTURER_H_
12
13namespace webrtc {
14
15namespace newapi {
16class VideoSendStreamInput;
17} // newapi
18
19namespace test {
20
21class VideoCapturer {
22 public:
23 static VideoCapturer* Create(newapi::VideoSendStreamInput* input);
24 virtual ~VideoCapturer() {}
25
26 virtual void Start() = 0;
27 virtual void Stop() = 0;
28
29 protected:
30 explicit VideoCapturer(newapi::VideoSendStreamInput* input);
31 newapi::VideoSendStreamInput* input_;
32};
33} // test
34} // webrtc
35
36#endif // WEBRTC_VIDEO_ENGINE_TEST_COMMON_VIDEO_CAPTURER_H