Skip to content

Commit

Permalink
Update background.js
Browse files Browse the repository at this point in the history
  • Loading branch information
alyssaxuu authored Feb 12, 2021
1 parent 44090dc commit 0b3ba98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function getDesktop() {
};
navigator.mediaDevices.getDisplayMedia(constraints).then(function(stream) {
output = new MediaStream();
if (isMac) {
if (stream.getAudioTracks().length == 0) {
// Get microphone audio (system audio is unreliable & doesn't work on Mac)
if (micable) {
micsource.connect(destination);
Expand Down

0 comments on commit 0b3ba98

Please sign in to comment.