IVSCameraFormat

Objective-C


@interface IVSCameraFormat : NSObject

Swift

class IVSCameraFormat : NSObject

A class representing the current configuration for an IVSCameraSource object.

  • Unavailable

    Do not create instances of this class directly

    Declaration

    Objective-C

    IVS_INIT_UNAVAILABLE
  • Unavailable

    Do not create instances of this class directly

    Declaration

    Objective-C

    IVS_INIT_UNAVAILABLE
  • The minimum value which can be applied to the camera via the -[IVSCameraSource setVideoZoomFactor:] API.

    Declaration

    Objective-C

    @property (nonatomic, readonly) CGFloat minAvailableVideoZoomFactor;

    Swift

    var minAvailableVideoZoomFactor: CGFloat { get }
  • The maximum value which can be applied to the camera via the -[IVSCameraSource setVideoZoomFactor:] API.

    Declaration

    Objective-C

    @property (nonatomic, readonly) CGFloat maxAvailableVideoZoomFactor;

    Swift

    var maxAvailableVideoZoomFactor: CGFloat { get }
  • The frame rate ranges this camera supports.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSArray<IVSFrameRateRange *> *_Nonnull frameRateRanges;

    Swift

    var frameRateRanges: [IVSFrameRateRange] { get }
  • The video resolution this camera is configured to output.

    Declaration

    Objective-C

    @property (nonatomic, readonly) CGSize resolution;

    Swift

    var resolution: CGSize { get }