Always audio from latest connected external USB mic

Hello!

I've two mics connected to a USB-hub. The USB-hub is then connected to my iPad. Both mics are part of the audio session's list of available inputs.

The problem is that regardless of which mic I select in my app (using setPreferredInput() on the audio session), the audio keeps coming from the mic that was last connected to the USB-hub.

Anyone that knows if this is a limitation in iPadOS/iOS?

Just tested switching mic using the Control Center in iOS 26, and that works! I noticed the new AVInputPickerInteraction in iOS 26, which looks promising, but there is a slight catch. My app is a streaming app, and users would like to switch mic automatically when switching "scene/camera". It's not suitable to present a picker every time that happens, so would be awesome if the mic selection could be done in code (in Swift).

Always audio from latest connected external USB mic
 
 
Q