Skip to content

Commit

Permalink
Clear hasMicrophone, hasSpeakers, and hasWebcam in checkDeviceSupport…
Browse files Browse the repository at this point in the history
… so we can detect device removal
  • Loading branch information
ckaczor committed Aug 9, 2017
1 parent 574a36f commit e45b18c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
8 changes: 6 additions & 2 deletions DetectRTC.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
'use strict';

// Last Updated On: 2017-05-24 4:28:17 PM UTC
// Last Updated On: 2017-08-09 9:59:34 PM UTC

// ________________
// DetectRTC v1.3.4
// DetectRTC v1.3.5

// Open-Sourced: https://github.com/muaz-khan/DetectRTC

Expand Down Expand Up @@ -698,6 +698,10 @@
audioOutputDevices = [];
videoInputDevices = [];

hasMicrophone = false;
hasSpeakers = false;
hasWebcam = false;

isWebsiteHasMicrophonePermissions = false;
isWebsiteHasWebcamPermissions = false;

Expand Down
Loading

0 comments on commit e45b18c

Please sign in to comment.