From 692b328127d1701266e7cc75f60fd410e1ad37b7 Mon Sep 17 00:00:00 2001 From: CloudWebRTC Date: Tue, 29 Oct 2024 10:58:45 +0800 Subject: [PATCH] Revert "fix: Fixed speaker cannot be switched on iOS. (#617)" This reverts commit 3cfee915cdea5efa9f854b03927ec9db271766b4. --- lib/src/hardware/hardware.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/hardware/hardware.dart b/lib/src/hardware/hardware.dart index ea5365de..42919d93 100644 --- a/lib/src/hardware/hardware.dart +++ b/lib/src/hardware/hardware.dart @@ -78,7 +78,7 @@ class Hardware { bool? speakerOn; - bool _preferSpeakerOutput = false; + bool _preferSpeakerOutput = true; Future> enumerateDevices({String? type}) async { var infos = await rtc.navigator.mediaDevices.enumerateDevices();