tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

ARDFileCaptureController.h (1016B)


      1 /*
      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 #import "sdk/objc/base/RTCMacros.h"
     14 
     15 @class RTC_OBJC_TYPE(RTCFileVideoCapturer);
     16 
     17 /**
     18 * Controls a file capturer.
     19 */
     20 NS_CLASS_AVAILABLE_IOS(10)
     21 @interface ARDFileCaptureController : NSObject
     22 
     23 /**
     24 * Creates instance of the controller.
     25 *
     26 * @param capturer The capturer to be controlled.
     27 */
     28 - (instancetype)initWithCapturer:
     29    (RTC_OBJC_TYPE(RTCFileVideoCapturer) *)capturer;
     30 
     31 /**
     32 * Starts the file capturer.
     33 *
     34 * Possible errors produced by the capturer will be logged.
     35 */
     36 - (void)startCapture;
     37 
     38 /**
     39 * Immediately stops capturer.
     40 */
     41 - (void)stopCapture;
     42 
     43 @end