Disabling VoiceProcessingIO Unit usage on iOS 14

266 views
Skip to first unread message

Winston Du

unread,
Sep 30, 2020, 2:24:27 AM9/30/20
to discuss-webrtc
Hey folks,

So back on iOS 13, I was able to manually turn off usage of the VPIO by switching the .default AVAudioSession Mode. (as one of the webrtc engineers pointed out in https://groups.google.com/g/discuss-webrtc/c/Ci_PCR6BJ7o/m/57b-5jfOAwAJ).

This was particular useful when I detected that the user had headphones (since echo cancellation is not needed, so I might as well get back the stereo audio channels that VPIO prevents).

However, this seems to no longer be the case on iOS 14?

Because I use a library framework that uses webrtc under the hood (agora.io), I don't have full control. 

Is there anything I can do to force VPIO deactivation?

Regards,
Winston

stron...@gmail.com

unread,
Mar 23, 2021, 8:56:05 PM3/23/21
to discuss-webrtc
So far as I know, the Audio Session Mode will automatically swith to .default after the headphones are plugged in when using the SDK provided by Agora.io.

stron...@gmail.com

unread,
Mar 23, 2021, 8:59:49 PM3/23/21
to discuss-webrtc
The above behaviour is with Agora's native SDK. Things may be different if you are using their Web SDK.
Reply all
Reply to author
Forward
0 new messages