Fallback to auto-audio-setup
This commit is contained in:
parent
49e5dd67dc
commit
18fe544e85
@ -236,6 +236,7 @@ final class CameraView: UIView {
|
|||||||
} catch let error as NSError {
|
} catch let error as NSError {
|
||||||
// not critical, so don't return
|
// not critical, so don't return
|
||||||
invokeOnError(.session(.audioSessionSetupFailed(reason: error.description)))
|
invokeOnError(.session(.audioSessionSetupFailed(reason: error.description)))
|
||||||
|
captureSession.automaticallyConfiguresApplicationAudioSession = true // fallback to auto-setup
|
||||||
}
|
}
|
||||||
|
|
||||||
// Video Input
|
// Video Input
|
||||||
|
Loading…
Reference in New Issue
Block a user