| Streamaxia Open SDK 3.2

List of all members
AVCaptureDevice(DeviceCapabilities) Category Reference

`#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

## Detailed Description

Utils for determining the device capabilities.

## Method Documentation

## ◆ configureForHighestFrameRate()

- (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.

## ◆ isFrameRateSupported:()

- (BOOL) isFrameRateSupported: |  | (NSInteger) | frameRate |

Determines if the given frame rate is supported by this device.

Parameters

  frameRate | The frame rate.

Returns
  YES if the frame rate is supported, NO otherwise.

## ◆ isResolutionSupported:()

- (BOOL) isResolutionSupported: |  | (AXVideoFrameResolution) | resolution |

Determines if the given standard resolution is supported by this device.

Parameters

  resolution | The resolution.

Returns
  YES if the resolution is supported, NO otherwise.

## ◆ isVideoFrameSizeSupported:()

- (BOOL) isVideoFrameSizeSupported: |  | (AXVideoFrameSize) | frameSize |

Determines if the given video frame size is supported by this device.

Parameters

  frameSize | The video frame size.

Returns
  YES if the frame size is supported, NO otherwise.

## Property Documentation

## ◆ bestSupportedFrameRateNSRange

- (NSRange) bestSupportedFrameRateNSRange
| read nonatomic assign

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.

## ◆ bestSupportedFrameRateRange

- (AVFrameRateRange*) bestSupportedFrameRateRange
| read nonatomic strong

Returns the best AVFrameRateRange that is supported by this device.

## ◆ bestSupportedSessionPreset

- (NSString*) bestSupportedSessionPreset
| read nonatomic strong

Returns the best supported session preset by this device.

## ◆ supportedResolutions

- (NSArray<NSNumber *>*) supportedResolutions
| read nonatomic strong

Returns the list of resolutions that are supported by this device. The resolutions are boxed AXVideoFrameResolution.

## ◆ supportedVideoFrameSizes

- (NSArray<NSValue *>*) supportedVideoFrameSizes
| read nonatomic strong

Returns the list of video frame sizes that are supported by this device. The frame sizes are boxed values of AXVideoFrameSize.

The documentation for this category was generated from the following file:

- /Users/mac/Documents/StreamaxiaSDK/Streamaxia Open SDK/StreamaxiaSDK.framework/Headers/AVCaptureDevice+DeviceCapabilities.h