Skip to content

Commit

Permalink
Merged & Closed #67 Thanks @DavidUv & @Pearny
Browse files Browse the repository at this point in the history
  • Loading branch information
muaz-khan committed Apr 30, 2018
1 parent 39ebb51 commit d06ff29
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions DetectRTC.js
@@ -1,6 +1,6 @@
'use strict';

// Last Updated On: 2017-12-09 2:29:22 PM UTC
// Last Updated On: 2018-04-30 5:22:34 PM UTC

// ________________
// DetectRTC v1.3.6
Expand Down Expand Up @@ -1089,7 +1089,7 @@
MediaStream = webkitMediaStream;
}

if (typeof MediaStream !== 'undefined') {
if (typeof MediaStream !== 'undefined' && typeof MediaStream === 'function') {
DetectRTC.MediaStream = Object.keys(MediaStream.prototype);
} else DetectRTC.MediaStream = false;

Expand Down

0 comments on commit d06ff29

Please sign in to comment.