Fallback to auto-audio-setup

This commit is contained in:
Marc Rousavy 2021-02-23 10:30:09 +01:00
parent 49e5dd67dc
commit 18fe544e85

View File

@ -236,6 +236,7 @@ final class CameraView: UIView {
} catch let error as NSError {
// not critical, so don't return
invokeOnError(.session(.audioSessionSetupFailed(reason: error.description)))
captureSession.automaticallyConfiguresApplicationAudioSession = true // fallback to auto-setup
}
// Video Input