Skip to content

Commit

Permalink
Merge pull request #201 from wolfgangmeyers/master
Browse files Browse the repository at this point in the history
Users can participate after denying mic prompt
  • Loading branch information
haydenjameslee committed May 20, 2020
2 parents 36f49ca + 620bae5 commit 871abcd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/adapters/naf-webrtc-adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,12 @@ class WebrtcAdapter {
self.storeAudioStream(self.myId, localStream);
self.connectSuccess(self.myId);
})
.catch(e => NAF.log.error(e));
.catch(e => {
NAF.log.error(e);
console.error("Microphone is disabled due to lack of permissions");
self.sendAudio = false;
self.connectSuccess(self.myId);
});
} else {
self.connectSuccess(self.myId);
}
Expand Down

0 comments on commit 871abcd

Please sign in to comment.