return Boolean from our test for WebRTC support

pull/1/head
ansuz 6 years ago
parent 275a3c80fc
commit 20959f84ae

@ -1112,11 +1112,11 @@ define([
};
common.isWebRTCSupported = function () {
return navigator.getUserMedia ||
return Boolean(navigator.getUserMedia ||
navigator.webkitGetUserMedia ||
navigator.mozGetUserMedia ||
navigator.msGetUserMedia ||
window.RTCPeerConnection;
window.RTCPeerConnection);
};
common.ready = (function () {

Loading…
Cancel
Save