TVICameraSource(AVCaptureDeviceControl) Category Reference

Declared in TVICameraSource.h

Overview

Methods to safely control some AVCaptureDevice features.

  torchLevel

The torch level to use for the capture device. Throws an NSInvalidArgumentException if setting the torch level is not supported by the currently selected device. Defaults to 0.

@property (nonatomic, assign) float torchLevel

Discussion

You should only set the torch level while using AVCaptureTorchModeOn.

See Also

Declared In

TVICameraSource.h

  torchMode

The torch mode to use for the capture device. Throws an NSInvalidArgumentException if the torch mode is not supported by the currently selected device. Defaults to AVCaptureTorchModeOff.

@property (nonatomic, assign) AVCaptureTorchMode torchMode

See Also

Declared In

TVICameraSource.h

  zoomFactor

The zoom factor to use for the capture device. Throws an NSInvalidArgumentException if the zoom factor is not supported by the currently selected device. Defaults to TVICameraSourceOptions.zoomFactor.

@property (nonatomic, assign) CGFloat zoomFactor

See Also

Declared In

TVICameraSource.h