| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2017 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2017 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 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 | 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 | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 @property(readonly, nonatomic) AVCaptureSession *captureSession; | 24 @property(readonly, nonatomic) AVCaptureSession *captureSession; |
| 25 | 25 |
| 26 // Returns list of available capture devices that support video capture. | 26 // Returns list of available capture devices that support video capture. |
| 27 + (NSArray<AVCaptureDevice *> *)captureDevices; | 27 + (NSArray<AVCaptureDevice *> *)captureDevices; |
| 28 // Returns list of formats that are supported by this class for this device. | 28 // Returns list of formats that are supported by this class for this device. |
| 29 + (NSArray<AVCaptureDeviceFormat *> *)supportedFormatsForDevice:(AVCaptureDevice
*)device; | 29 + (NSArray<AVCaptureDeviceFormat *> *)supportedFormatsForDevice:(AVCaptureDevice
*)device; |
| 30 | 30 |
| 31 // Starts and stops the capture session asynchronously. | 31 // Starts and stops the capture session asynchronously. |
| 32 - (void)startCaptureWithDevice:(AVCaptureDevice *)device | 32 - (void)startCaptureWithDevice:(AVCaptureDevice *)device |
| 33 format:(AVCaptureDeviceFormat *)format | 33 format:(AVCaptureDeviceFormat *)format |
| 34 fps:(int)fps; | 34 fps:(NSInteger)fps; |
| 35 // Stops the capture session asynchronously. | 35 // Stops the capture session asynchronously. |
| 36 - (void)stopCapture; | 36 - (void)stopCapture; |
| 37 | 37 |
| 38 @end | 38 @end |
| 39 | 39 |
| 40 NS_ASSUME_NONNULL_END | 40 NS_ASSUME_NONNULL_END |
| OLD | NEW |