8#import <AVFoundation/AVFoundation.h>
39@property (nonatomic, assign) AVCaptureDevicePosition
position;
44@property (nonatomic, strong) AVCaptureSessionPreset
preset;
87- (void)startCameraWithAudio:(BOOL)audio;
Conatins the main DeepAR classes, structures and enumerations.
ARView is a class that extends UIView with all DeepAR features which can be positioned in the UI hier...
Definition: ARView.h:16
Helper class that wraps AVFoundation to handle camera-related logic like starting camera preview,...
Definition: CameraController.h:18
void checkCameraPermission()
Checks camera permissions.
instancetype init()
Initializes a new CameraController instance.
AVCaptureDevicePosition position
The currently selected camera.
Definition: CameraController.h:39
void checkMicrophonePermission()
Checks microphone permissions.
void startCamera()
Starts camera preview using AVFoundation.
void stopAudio()
Stops capturing audio samples.
AVCaptureSessionPreset preset
Represents camera resolution currently used. Can be changed in real-time.
Definition: CameraController.h:44
ARView * arview
The ARView instance.
Definition: CameraController.h:30
DeepAR * deepAR
The DeepAR instance.
Definition: CameraController.h:23
AVCaptureVideoOrientation videoOrientation
Represents currently used video orientation. Should be called with right orientation when the device ...
Definition: CameraController.h:49
void stopCamera()
Stops camera preview.
void startAudio()
Starts capturing audio samples using AVFoundation.
Main class for interacting with DeepAR engine.
Definition: DeepAR.h:373