Audio using internal speaker when recording with with iOS14

Numa
✭
Hi,
It looks like on iOS 14 the audio isn't forced to speaker anymore when recording. It used to work fine before, but now when the microphone starts, the audio is rerouted to the earpiece. If I stop/start the recording I can hear the audio switching from one to the other.
I tried using the forceToSpeaker script or calling SetIosAudioSessionParameter in a lot of different places, but that had no effect.
my setup:
Unity 2020.1.4f1, Photon voice 2.21
- using photon microphone
- mode: voice chat
- category: play and record
- options: default to speaker
Any help appreciated. Thanks!
It looks like on iOS 14 the audio isn't forced to speaker anymore when recording. It used to work fine before, but now when the microphone starts, the audio is rerouted to the earpiece. If I stop/start the recording I can hear the audio switching from one to the other.
I tried using the forceToSpeaker script or calling SetIosAudioSessionParameter in a lot of different places, but that had no effect.
my setup:
Unity 2020.1.4f1, Photon voice 2.21
- using photon microphone
- mode: voice chat
- category: play and record
- options: default to speaker
Any help appreciated. Thanks!
0
Comments
-
Hi,
Yes I tried all the solutions, and they worked fine before, for several months. I have the same problem using your demo scene with Unity 2019 LTS. I suspect something has changed in iOS 14 and the "default to speaker" option doesn't work anymore while recording. Could you please test with iOS 14.1 on your end and see if you can reproduce the issue?
Thanks.0