We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 600ce9d commit 76c8cabCopy full SHA for 76c8cab
android/src/main/java/com/twiliorn/library/CustomTwilioVideoView.java
@@ -748,8 +748,10 @@ public void toggleBluetoothHeadset(boolean enabled) {
748
AudioManager audioManager = (AudioManager) getContext().getSystemService(Context.AUDIO_SERVICE);
749
if (enabled) {
750
audioManager.startBluetoothSco();
751
+ audioManager.setSpeakerphoneOn(false);
752
} else {
753
audioManager.stopBluetoothSco();
754
+ audioManager.setSpeakerphoneOn(true);
755
}
756
757
0 commit comments