blob: 2ae274211ef82d0372d2006f8a090b43db166f73 [file] [log] [blame] [edit]
/*
* Copyright 2018 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.
*/
#ifndef SDK_OBJC_NATIVE_API_VIDEO_CAPTURER_H_
#define SDK_OBJC_NATIVE_API_VIDEO_CAPTURER_H_
// import
#import "base/RTCVideoCapturer.h"
// include
#include "api/environment/environment.h"
#include "api/media_stream_interface.h"
#include "api/scoped_refptr.h"
#include "rtc_base/thread.h"
namespace webrtc {
scoped_refptr<VideoTrackSourceInterface> ObjCToNativeVideoCapturer(
RTC_OBJC_TYPE(RTCVideoCapturer) * objc_video_capturer,
const Environment& env,
Thread* signaling_thread,
Thread* worker_thread);
} // namespace webrtc
#endif // SDK_OBJC_NATIVE_API_VIDEO_CAPTURER_H_