return Boolean from our test for WebRTC support
This commit is contained in:
parent
275a3c80fc
commit
20959f84ae
@ -1112,11 +1112,11 @@ define([
|
|||||||
};
|
};
|
||||||
|
|
||||||
common.isWebRTCSupported = function () {
|
common.isWebRTCSupported = function () {
|
||||||
return navigator.getUserMedia ||
|
return Boolean(navigator.getUserMedia ||
|
||||||
navigator.webkitGetUserMedia ||
|
navigator.webkitGetUserMedia ||
|
||||||
navigator.mozGetUserMedia ||
|
navigator.mozGetUserMedia ||
|
||||||
navigator.msGetUserMedia ||
|
navigator.msGetUserMedia ||
|
||||||
window.RTCPeerConnection;
|
window.RTCPeerConnection);
|
||||||
};
|
};
|
||||||
|
|
||||||
common.ready = (function () {
|
common.ready = (function () {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user