AVfoundation offers following method to extract buffer frames:
func captureOutput(_ captureOutput: AVCaptureOutput!, didOutputSampleBuffer sampleBuffer: CMSampleBuffer!, from connection: AVCaptureConnection!)
However, this provides only low resolution frames (1920 x 1080 at best).
func capturePhoto(with settings: AVCapturePhotoSettings, delegate: AVCapturePhotoCaptureDelegate)
Above gives full 12mp (if a late model device), yet it's a one time deal.
For a long exposure composite, is there a way to extract full resolution frames within a stream?