diff --git a/Public/assets/janus.js b/Public/assets/janus.js index 80d6450..574e476 100644 --- a/Public/assets/janus.js +++ b/Public/assets/janus.js @@ -287,7 +287,7 @@ Janus.init = function(options) { // Helper method to check whether WebRTC is supported by this browser Janus.isWebrtcSupported = function() { return window.RTCPeerConnection !== undefined && window.RTCPeerConnection !== null && - navigator.getUserMedia !== undefined && navigator.getUserMedia !== null; + navigator.mediaDevices.getUserMedia !== undefined && navigator.mediaDevices.getUserMedia !== null; }; // Helper method to create random identifiers (e.g., transaction)