blob: 7e0387de3c821a4dc46d1f3d10f1874f113ae293 [file] [log] [blame]
Daniela012b56b2017-11-15 13:15:24 +01001/*
2 * Copyright 2017 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
11#import <Foundation/Foundation.h>
12
13@class RTCFileVideoCapturer;
14
15/**
16 * Controls a file capturer.
17 */
18NS_CLASS_AVAILABLE_IOS(10)
19@interface ARDFileCaptureController : NSObject
20
21/**
22 * Creates instance of the controller.
23 *
24 * @param capturer The capturer to be controlled.
25 */
26- (instancetype)initWithCapturer:(RTCFileVideoCapturer *)capturer;
27
28/**
29 * Starts the file capturer.
30 *
31 * Possible errors produced by the capturer will be logged.
32 */
33- (void)startCapture;
34
35/**
36 * Immediately stops capturer.
37 */
38- (void)stopCapture;
39
40@end