VICameraManager

VICameraManager

Members
–  init

Warning: NS_UNAVAILABLE

- (instancetype)init
+  sharedCameraManager

Obtain VICameraManager instance

+ (instancetype)sharedCameraManager
Return

VICameraManager instance

–  captureDevices

Get list of available capture devices that support video capture

- (NSArray<AVCaptureDevice*> *)captureDevices
Return

List of available capture devices

–  supportedFormatsForDevice:

Get list of formats(resolutions) that are supported by requested device

- (NSArray<AVCaptureDeviceFormat*> *)supportedFormatsForDevice:(AVCaptureDevice *)device
Parameters
device

Capture device to get its formats

Return

List of formats

–  changeCaptureFormat:

Change video format(resolution) to be sent to remote participant. Default video format 640x480.

- (void)changeCaptureFormat:(AVCaptureDeviceFormat *)format
Parameters
format

New video format

videoPreprocessDelegate

Video prepocessing delegate

@property (nonatomic, weak) id<VIVideoPreprocessDelegate> videoPreprocessDelegate
useBackCamera

A boolean value indicating if back camera should be used

@property (nonatomic, assign) BOOL useBackCamera