Skip to content

Commit

Permalink
fixing travis-build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
muaz-khan committed May 21, 2017
1 parent 58d395e commit ca9605e
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 9 deletions.
10 changes: 8 additions & 2 deletions DetectRTC.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

// Last Updated On: 2017-05-21 3:58:52 AM UTC
// Last Updated On: 2017-05-21 5:10:21 AM UTC

// ________________
// DetectRTC v1.3.4
Expand Down Expand Up @@ -984,7 +984,13 @@
checkDeviceSupport(callback);
};

DetectRTC.MediaDevices = MediaDevices;

if (typeof MediaDevices !== 'undefined') {
DetectRTC.MediaDevices = MediaDevices;
} else {
DetectRTC.MediaDevices = [];
}

DetectRTC.hasMicrophone = hasMicrophone;
DetectRTC.hasSpeakers = hasSpeakers;
DetectRTC.hasWebcam = hasWebcam;
Expand Down
Loading

0 comments on commit ca9605e

Please sign in to comment.