AVManager
public protocol AVManager : AnyObject
                To be implemented if custom AVFoundation logic is needed. This may be desireable if using RealTimeEngine in tandem with another class or library that requires CMSampleBuffers for processing.
- 
                  
                  
The
AVCaptureVideoPreviewLayerdisplayed to the userDeclaration
Swift
var previewLayer: AVCaptureVideoPreviewLayer { get } - 
                  
                  
The quality of the previewLayer video session.
Declaration
Swift
var cameraQuality: AVCaptureSession.Preset { get set } - 
                  
                  
The underlying capture session providing previewLayer it’s video feed
Declaration
Swift
var captureSession: AVCaptureSession { get } - 
                  
                  
The delegate to receive the
CMSampleBuffers for processing.Note: If you are creating a custom object to conform to AVManager, you must manually set SwiftyTesseractRTE as it’s delegate for SwiftyTesseractRTE to receive the
CMSampleBuffers or have another delegate directly pass the paramters ofcapture(_:didOutput:from:)toRealTimeEngine‘s implementation otherwise they will not be received to be processed for OCRDeclaration
Swift
var delegate: AVCaptureVideoDataOutputSampleBufferDelegate? { get set } 
      AVManager Protocol Reference