Fix automatically configures application audio session
This commit is contained in:
parent
15e0c7c595
commit
8825a54342
@ -61,7 +61,7 @@ extension CameraView {
|
|||||||
throw CameraError.parameter(.unsupportedInput(inputDescriptor: "audio-input"))
|
throw CameraError.parameter(.unsupportedInput(inputDescriptor: "audio-input"))
|
||||||
}
|
}
|
||||||
captureSession.addInput(audioDeviceInput!)
|
captureSession.addInput(audioDeviceInput!)
|
||||||
captureSession.automaticallyConfiguresApplicationAudioSession = true
|
captureSession.automaticallyConfiguresApplicationAudioSession = false
|
||||||
captureSession.commitConfiguration()
|
captureSession.commitConfiguration()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user