blob: c1f91b70f6126eec412ee65ec6f481e5c796b60b [file] [log] [blame]
jlmiller@webrtc.org5f93d0a2015-01-20 21:36:13 +00001/*
kjellander1afca732016-02-07 20:46:45 -08002 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
jlmiller@webrtc.org5f93d0a2015-01-20 21:36:13 +00003 *
kjellander1afca732016-02-07 20:46:45 -08004 * 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.
jlmiller@webrtc.org5f93d0a2015-01-20 21:36:13 +00009 */
buildbot@webrtc.org65b98d12014-08-07 22:09:08 +000010
jlmiller@webrtc.org5f93d0a2015-01-20 21:36:13 +000011// TODO(pthatcher): Rename file to match class name.
kjellander@webrtc.org5ad12972016-02-12 06:39:40 +010012#ifndef WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOCAPTURERFACTORY_H_
13#define WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOCAPTURERFACTORY_H_
buildbot@webrtc.org65b98d12014-08-07 22:09:08 +000014
kjellandera96e2d72016-02-04 23:52:28 -080015#include "webrtc/media/base/videocapturerfactory.h"
buildbot@webrtc.org65b98d12014-08-07 22:09:08 +000016
17namespace cricket {
18
19// Creates instances of cricket::WebRtcVideoCapturer.
20class WebRtcVideoDeviceCapturerFactory : public VideoDeviceCapturerFactory {
21 public:
deadbeef112b2e92017-02-10 20:13:37 -080022 std::unique_ptr<VideoCapturer> Create(const Device& device) override;
buildbot@webrtc.org65b98d12014-08-07 22:09:08 +000023};
24
25} // namespace cricket
26
kjellander@webrtc.org5ad12972016-02-12 06:39:40 +010027#endif // WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOCAPTURERFACTORY_H_