Skip to content

Commit

Permalink
fix: Fixed speaker cannot be switched on iOS. (#617)
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudwebrtc authored Oct 26, 2024
1 parent f709a41 commit 3cfee91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/hardware/hardware.dart
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class Hardware {

bool? speakerOn;

bool _preferSpeakerOutput = true;
bool _preferSpeakerOutput = false;

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

0 comments on commit 3cfee91

Please sign in to comment.