From 8fd3bb23024a0706b7a1d4f057efb6a52a0641c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Tue, 26 Nov 2019 11:16:39 +0100 Subject: [PATCH] android: fallbacck to speaker in ConnectionService handler It has been our default for a while. --- .../jitsi/meet/sdk/AudioDeviceHandlerConnectionService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/sdk/src/main/java/org/jitsi/meet/sdk/AudioDeviceHandlerConnectionService.java b/android/sdk/src/main/java/org/jitsi/meet/sdk/AudioDeviceHandlerConnectionService.java index ede3d0eaf1..f1302d3cbc 100644 --- a/android/sdk/src/main/java/org/jitsi/meet/sdk/AudioDeviceHandlerConnectionService.java +++ b/android/sdk/src/main/java/org/jitsi/meet/sdk/AudioDeviceHandlerConnectionService.java @@ -53,7 +53,7 @@ class AudioDeviceHandlerConnectionService implements */ private static int audioDeviceToRouteInt(String audioDevice) { if (audioDevice == null) { - return CallAudioState.ROUTE_EARPIECE; + return CallAudioState.ROUTE_SPEAKER; } switch (audioDevice) { case AudioModeModule.DEVICE_BLUETOOTH: @@ -66,7 +66,7 @@ class AudioDeviceHandlerConnectionService implements return CallAudioState.ROUTE_SPEAKER; default: JitsiMeetLogger.e(TAG + " Unsupported device name: " + audioDevice); - return CallAudioState.ROUTE_EARPIECE; + return CallAudioState.ROUTE_SPEAKER; } }