| Streamaxia Open SDK 3.2

AVCaptureDevice+DeviceCapabilities.h
1 //
2 // AVCaptureDevice+DeviceCapabilities.h
3 // StreamaxiaSDK
4 //
5 // Created by Mihaita Babici on 9/19/16.
6 // Copyright © 2016 Agilio. All rights reserved.
7 //
8
9 @import AVFoundation;
10
11 #import "AXRecorderDefines.h"
12
16 @interface AVCaptureDevice (DeviceCapabilities)
17
21
25 @property (nonatomic, strong, readonly) AVFrameRateRange *bestSupportedFrameRateRange;
26
31 @property (nonatomic, assign, readonly) NSRange bestSupportedFrameRateNSRange;
32
37 @property (nonatomic, strong, readonly) NSArray<NSNumber *> *supportedResolutions;
38
43 @property (nonatomic, strong, readonly) NSArray<NSValue *> *supportedVideoFrameSizes;
44
48 @property (nonatomic, strong, readonly) NSString *bestSupportedSessionPreset;
49
53
61 - (BOOL)isFrameRateSupported:(NSInteger)frameRate;
62
70 - (BOOL)isVideoFrameSizeSupported:(AXVideoFrameSize)frameSize;
71
79 - (BOOL)isResolutionSupported:(AXVideoFrameResolution)resolution;
80
85 - (void)configureForHighestFrameRate;
86
87 @end
-[AVCaptureDevice(DeviceCapabilities) configureForHighestFrameRate]
void configureForHighestFrameRate()
AVCaptureDevice(DeviceCapabilities)::bestSupportedSessionPreset
NSString * bestSupportedSessionPreset
Definition: AVCaptureDevice+DeviceCapabilities.h:48
AVCaptureDevice(DeviceCapabilities)::supportedResolutions
NSArray< NSNumber * > * supportedResolutions
Definition: AVCaptureDevice+DeviceCapabilities.h:37
AVCaptureDevice(DeviceCapabilities)::bestSupportedFrameRateRange
AVFrameRateRange * bestSupportedFrameRateRange
Definition: AVCaptureDevice+DeviceCapabilities.h:25
AVCaptureDevice(DeviceCapabilities)::supportedVideoFrameSizes
NSArray< NSValue * > * supportedVideoFrameSizes
Definition: AVCaptureDevice+DeviceCapabilities.h:43
AVCaptureDevice(DeviceCapabilities)::bestSupportedFrameRateNSRange
NSRange bestSupportedFrameRateNSRange
Definition: AVCaptureDevice+DeviceCapabilities.h:31
AVCaptureDevice(DeviceCapabilities)
Definition: AVCaptureDevice+DeviceCapabilities.h:16
AXVideoFrameSize
Definition: AXRecorderDefines.h:205