I have come across the same question on various sites, such as here: Microphone.Start() stops audio from playing on ios - Unity Answers
But I have been unable to find a solution that works for me. My game uses the iPhone’s microphone for most of it and the problem I have is that when the mic kicks in, the game’s output audio switches from the loudspeaker to the ear-piece speaker, dramatically dropping in volume.
This is the only solution I have found: GitHub - cbaltzer/UnitySpeakerFix: Forces audio to speaker while using the mic, on iPhone but it seems to involve downloading a plugin. I have read that plugins are only usable in Unity Pro and I am using the free version, so I don’t think I can use that fix.
I was thinking this would be an easy problem to fix but I’m not so sure now!
Does anyone have any ideas? And if the above fix can be used in Unity free, how would I go about getting it into my project?
Thanks in advance for any help!