mic_stream icon indicating copy to clipboard operation
mic_stream copied to clipboard

IOS: the start of the recording switches the audio output to device's speakers from headphones

Open bbader-kada opened this issue 2 years ago • 1 comments

After the init of the MicStream, the device switches its audio output to it's speakers. And because of this when I try to play audio (with audioplayers plugin) and record through mic in the same time, the output is always the device's speakers. My goal would be to listen to the audio continuously on headphones even if the recording started.

bbader-kada avatar Sep 07 '22 14:09 bbader-kada

Thanks for mentioning this. Sadly, I cannot really help you. I have not written the IOS part of the plugin, and I do not know how I/O device selection is handled on IOS. The plugin should definitely not change the output device, and I can confirm that on Android, it does not do so.

If you have some experience with IOS, please have a look through the code in the ios folder. If you find the source of this issue and fix it, I'm happy to integrate the changes. However, I can neither help with the code nor test the plugin on an IOS device.

anarchuser avatar Sep 07 '22 15:09 anarchuser