Skip to content

Commit

Permalink
Merged and closed muaz-khan#60 and fixed muaz-khan#59 via @nicklanng
Browse files Browse the repository at this point in the history
  • Loading branch information
muaz-khan committed Dec 9, 2017
1 parent e9fe49e commit 39ebb51
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions DetectRTC.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

// Last Updated On: 2017-12-02 7:00:56 AM UTC
// Last Updated On: 2017-12-09 2:29:22 PM UTC

// ________________
// DetectRTC v1.3.6
Expand Down Expand Up @@ -714,7 +714,7 @@
} catch (e) {}
}

if (alreadyUsedDevices[device.deviceId + device.label]) {
if (alreadyUsedDevices[device.deviceId + device.label + device.kind]) {
return;
}

Expand Down Expand Up @@ -791,7 +791,7 @@
// there is no 'videoouput' in the spec.
MediaDevices.push(device);

alreadyUsedDevices[device.deviceId + device.label] = device;
alreadyUsedDevices[device.deviceId + device.label + device.kind] = device;
});

if (typeof DetectRTC !== 'undefined') {
Expand Down
Loading

0 comments on commit 39ebb51

Please sign in to comment.