Audio Output is Reciver instead of Speaker

Description
When I successfully join the session, the output of the audio of the other side is coming from the iPhone’s Receiver instead of the iPhone’s loudspeaker. Client SDK does have an option for changing the source but I wasn’t able to find the same for InstantSDKs.

Which version?
1

To Reproduce(If applicable)
Steps to reproduce the behavior:

  1. Join Session from 2 devices (e.i A and B)
  2. Speak from A and The Voice in B comes from Receiver instead of Speaker

Hi @dhruv.vhits, thanks for the post.

It appears you are correct that there is no way to programmatically change audio sources through the iOS SDK. I will go ahead and submit a feature request on your behalf so that we can get this added in a future release. :slightly_smiling_face:

Thanks!

Hi @jon.lieblich, thanks for your reply.

when can I expect the next release with the feature included?

Thanks!

Hi @dhruv.vhits,

We are still investigating this feature and do not yet have any updates, unfortunately.

Thanks!

Hey, @jon.lieblich Thanks for your prompt responses. is there any way or any workaround that would help me to work this out or avoid the issue?/

Thanks!

Hey @dhruv.vhits,

Have you tried using the AVAudioSession interface?
https://developer.apple.com/documentation/avfaudio/avaudiosession/1616443-overrideoutputaudioport
https://developer.apple.com/documentation/avfaudio/avaudiosession/categoryoptions/1616462-defaulttospeaker

Michael

Hey @Michael_Condon Thanks for your reply, I will go through the links and be back with update.

Thanks!

Hey @dhruv.vhits,

Sounds good!

Michael