Skip to content

Commit 3cfee91

Browse files
authored
fix: Fixed speaker cannot be switched on iOS. (#617)
1 parent f709a41 commit 3cfee91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/hardware/hardware.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class Hardware {
7878

7979
bool? speakerOn;
8080

81-
bool _preferSpeakerOutput = true;
81+
bool _preferSpeakerOutput = false;
8282

8383
Future<List<MediaDevice>> enumerateDevices({String? type}) async {
8484
var infos = await rtc.navigator.mediaDevices.enumerateDevices();

0 commit comments

Comments
 (0)