Closed saberzakhama closed 7 months ago
I'm using the last version of twilio audio switch. I'm calling library from java code to change priority like this
audioSwitch = new AudioSwitch(context, true, focusChange -> { }, new ArrayList<>(Arrays.asList(AudioDevice.BluetoothHeadset.class, AudioDevice.WiredHeadset.class, AudioDevice.Speakerphone.class,AudioDevice.Earpiece.class)));
When testing video call on my pixel 7 ( android 13), audio output is earpiece and the bottom speaker is not working.
How can I fix this issue please. Thanks
Hey @saberzakhama are you starting and activating AudioSwitch? audioSwitch.start(listener: AudioDeviceChangeListener) audioSwitch.activate()
audioSwitch.start(listener: AudioDeviceChangeListener)
audioSwitch.activate()
Closing due to inactivity.
I'm using the last version of twilio audio switch. I'm calling library from java code to change priority like this
When testing video call on my pixel 7 ( android 13), audio output is earpiece and the bottom speaker is not working.
How can I fix this issue please. Thanks