Skip to content

Commit

Permalink
Disable speakerphone when enabling microphone (#1050)
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksandar-apostolov authored Apr 1, 2024
1 parent 29fc23f commit 3b63874
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ class MicrophoneManager(
enforceSetup {
if (enabled) {
enable(fromUser = fromUser)
mediaManager.speaker.setEnabled(enabled = false, fromUser = false)
} else {
disable(fromUser = fromUser)
}
Expand Down

0 comments on commit 3b63874

Please sign in to comment.