VICameraManager
VICameraManager
Methods
captureDevices
- (NSArray<AVCaptureDevice *> *
)captureDevices
Get list of available capture devices that support video capture.
Returns
type:
NSArray<AVCaptureDevice *> *
changeCaptureFormat:
- (void
)changeCaptureFormat:(AVCaptureDeviceFormat *
)format
Change video format (resolution) to be sent to remote participant. Default video format 640x480 for video call and 352x288 for conference call.
Parameters
format:
AVCaptureDeviceFormat *
New video format.
Returns
type:
void
setSupportedDeviceOrientationForIPhone:iPad:
- (void
)setSupportedDeviceOrientationForIPhone:()iPhoneOrientationMask
iPad:()iPadOrientationMask
Sets supported orientation for all devices.
Parameters
iPhoneOrientationMask:
supported orientations for phones. Defaults to VISupportedDeviceOrientationAll.
iPadOrientationMask:
supported orientations for tablets. Defaults to VISupportedDeviceOrientationAll.
Returns
type:
void
supportedFormatsForDevice:
- (NSArray<AVCaptureDeviceFormat *> *
)supportedFormatsForDevice:(AVCaptureDevice *
)device
Get list of formats(resolutions) that are supported by requested device.
Parameters
device:
AVCaptureDevice *
Capture device to get its formats.
Returns
type:
NSArray<AVCaptureDeviceFormat *> *
Props
iPadOrientationMask
@property (assign, nonatomic) iPadOrientationMask
The property sets supported orientations for tablets. Defaults to VISupportedDeviceOrientationAll.
Returns
iPhoneOrientationMask
@property (assign, nonatomic) iPhoneOrientationMask
The property sets supported orientations for phones. Defaults to VISupportedDeviceOrientationAll.
Returns
shouldMirrorFrontCamera
@property (assign, nonatomic) BOOL
shouldMirrorFrontCamera
A Boolean value indicating if front camera preview should be mirrored. Defaults to YES.
Returns
type:
BOOL
useBackCamera
@property (assign, nonatomic) BOOL
useBackCamera
A Boolean value indicating if back camera should be used.
Returns
type:
BOOL
videoPreprocessDelegate
@property (weak, nullable, nonatomic) videoPreprocessDelegate
A video preprocessing delegate.
Returns
type: