Index: webrtc/sdk/objc/Framework/Headers/WebRTC/RTCCameraVideoCapturer.h |
diff --git a/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCCameraVideoCapturer.h b/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCCameraVideoCapturer.h |
index 3a6cf0e558c2bd98dc4344ec8450e00d73d58d0a..6eb6a9dec3946074932da29d0aed31203058c43f 100644 |
--- a/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCCameraVideoCapturer.h |
+++ b/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCCameraVideoCapturer.h |
@@ -20,6 +20,9 @@ RTC_EXPORT |
// (usually RTCVideoSource). |
@interface RTCCameraVideoCapturer : RTCVideoCapturer |
+// Capture session that is used for capturing. Valid from initialization to dealloc. |
+@property(readonly, nonatomic) AVCaptureSession *captureSession; |
+ |
// Returns list of available capture devices that support video capture. |
+ (NSArray<AVCaptureDevice *> *)captureDevices; |
// Returns list of formats that are supported by this class for this device. |
@@ -32,9 +35,6 @@ RTC_EXPORT |
// Stops the capture session asynchronously. |
- (void)stopCapture; |
-// Capture session that is used for capturing. Valid from initialization to dealloc. |
-@property(readonly, nonatomic) AVCaptureSession *captureSession; |
- |
@end |
NS_ASSUME_NONNULL_END |