![]() |
Streamaxia Open SDK
3.2
|
#import <AVCaptureDevice+DeviceCapabilities.h>
Instance Methods | |
Public methods | |
| (BOOL) | - isFrameRateSupported: |
| (BOOL) | - isVideoFrameSizeSupported: |
| (BOOL) | - isResolutionSupported: |
| (void) | - configureForHighestFrameRate |
Properties | |
Properties | |
| AVFrameRateRange * | bestSupportedFrameRateRange |
| NSRange | bestSupportedFrameRateNSRange |
| NSArray< NSNumber * > * | supportedResolutions |
| NSArray< NSValue * > * | supportedVideoFrameSizes |
| NSString * | bestSupportedSessionPreset |
Utils for determining the device capabilities.
| - (void) configureForHighestFrameRate |
Configures this device for the highest frame rate. This method will set the active format and reset the session preset to Input Priority.
| - (BOOL) isFrameRateSupported: | (NSInteger) | frameRate |
Determines if the given frame rate is supported by this device.
| frameRate | The frame rate. |
| - (BOOL) isResolutionSupported: | (AXVideoFrameResolution) | resolution |
Determines if the given standard resolution is supported by this device.
| resolution | The resolution. |
| - (BOOL) isVideoFrameSizeSupported: | (AXVideoFrameSize) | frameSize |
Determines if the given video frame size is supported by this device.
| frameSize | The video frame size. |
|
readnonatomicassign |
Returns the best frame rate range that is supported by this device. The range's location is the min frame rate, and the length is the max frame rate.
|
readnonatomicstrong |
Returns the best AVFrameRateRange that is supported by this device.
|
readnonatomicstrong |
Returns the best supported session preset by this device.
|
readnonatomicstrong |
Returns the list of resolutions that are supported by this device. The resolutions are boxed AXVideoFrameResolution.
|
readnonatomicstrong |
Returns the list of video frame sizes that are supported by this device. The frame sizes are boxed values of AXVideoFrameSize.
1.8.13