AliyunCameraRecordSource

@interface AliyunCameraRecordSource
    : NSObject <AliyunRecordDataSource, AliyunRecordSourceFPS,
                AliyunVideoSourceOrientation>

* The source of camera record API_AVAILABLE(3.22.0)

  • * the pixel format of camera output API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic, readonly) AliyunRecordCameraPixelFormat pixelFormat;
  • * The resolution of camera capture API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic) AliyunRecordCameraResolution resolution;
  • * The suggest resolution of capture API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic, readonly) AliyunRecordCameraResolution suggestResolution;
  • * is support torch API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL hasTorch;
  • * the mode of torch API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic) AVCaptureTorchMode torchMode;
  • * is support flash API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL hasFlash;
  • * the mode of flash API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic) AVCaptureFlashMode flashMode;
  • * is mirror capture API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL isVideoMirror;
  • * front or back camera be use API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic) AVCaptureDevicePosition position;
  • * exposure value API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic) CGFloat exposureValue;
  • * the orientation of capture API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic) int orientation;
  • * is support video zoom for front camera API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic) BOOL isSupportVideoZoomForFront;
  • * the video zoom factor API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic) CGFloat videoZoomFactor;
  • * the max value of video zoom factor API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic, readonly) CGFloat videoMaxZoomFactor;
  • * Init API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    - (instancetype)initWithPixelFormat:(AliyunRecordCameraPixelFormat)pixelFormat
                                    fps:(int)fps;

    Parameters

    pixelFormat

    the format of pixel

    fps

    the capture frequency pre second

  • * adjust force point API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    - (void)adjustForceWithNormalizedPoint:(CGPoint)focusPoint;

    Parameters

    focusPoint

    the focus point in normalized