My iOS application needs to use the microphone eventually in the life cycle. So I notice that when we start the application with 0 input channels and after change the input channels to 1 to enable the microphone and again to 0 to disable it, it’s always needed to recall the initialize function in the AudioDeviceManager to change it, and doing that makes the app to freeze for about ~4 seconds. I’m aware that I can handle the freeze with a background thread and so on, but it won’t solve the time issue. There is a way that I can get rid of it!?
Ps. I tried just change the inputChannels with the setup in the setAudioDeviceSetup but it didn’t work.
Thank you so much in advance.