Fix automatically configures application audio session

This commit is contained in:
Marc Rousavy 2021-03-29 11:43:01 +02:00
parent 15e0c7c595
commit 8825a54342

View File

@ -61,7 +61,7 @@ extension CameraView {
throw CameraError.parameter(.unsupportedInput(inputDescriptor: "audio-input"))
}
captureSession.addInput(audioDeviceInput!)
captureSession.automaticallyConfiguresApplicationAudioSession = true
captureSession.automaticallyConfiguresApplicationAudioSession = false
captureSession.commitConfiguration()
}