Capturer
Capturer copied to clipboard
PhotoOutput now has public 'avCapturePhotoOutput',
Added avCapturePhotoOutput to PhotoOutput so you can more reasonably configure your settings during capture, including information like isShutterSoundSuppressionSupported.
Added public access to AVCapturePhotoOutput. Why?
My app wanted to set the option in AVCaptureSettings of isShutterSoundSuppressionEnabled to true, but this resulted in a crash for some users with the error:
Fatal Exception: NSInvalidArgumentException *** -[AVCapturePhotoOutput capturePhotoWithSettings:delegate:] settings.shutterSoundSuppressionEnabled may not be set to YES unless self.shutterSoundSuppressionSupported is YES
I didn't rename anything, but just added this extra public,