@whereby.com/media 11.3.1 → 11.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +6 -2
- package/dist/index.mjs +6 -2
- package/dist/legacy-esm.js +6 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -7876,10 +7876,14 @@ function getStream(constraintOpt_1) {
|
|
|
7876
7876
|
});
|
|
7877
7877
|
}
|
|
7878
7878
|
function hasGetDisplayMedia() {
|
|
7879
|
-
|
|
7879
|
+
var _a, _b;
|
|
7880
|
+
if (typeof navigator === "undefined") {
|
|
7881
|
+
return false;
|
|
7882
|
+
}
|
|
7883
|
+
if ((_a = navigator.userAgent) === null || _a === void 0 ? void 0 : _a.includes("Android")) {
|
|
7880
7884
|
return false;
|
|
7881
7885
|
}
|
|
7882
|
-
return
|
|
7886
|
+
return typeof ((_b = navigator.mediaDevices) === null || _b === void 0 ? void 0 : _b.getDisplayMedia) === "function";
|
|
7883
7887
|
}
|
|
7884
7888
|
const defaultDisplayMediaConstraints = {
|
|
7885
7889
|
video: {
|
package/dist/index.mjs
CHANGED
|
@@ -7856,10 +7856,14 @@ function getStream(constraintOpt_1) {
|
|
|
7856
7856
|
});
|
|
7857
7857
|
}
|
|
7858
7858
|
function hasGetDisplayMedia() {
|
|
7859
|
-
|
|
7859
|
+
var _a, _b;
|
|
7860
|
+
if (typeof navigator === "undefined") {
|
|
7861
|
+
return false;
|
|
7862
|
+
}
|
|
7863
|
+
if ((_a = navigator.userAgent) === null || _a === void 0 ? void 0 : _a.includes("Android")) {
|
|
7860
7864
|
return false;
|
|
7861
7865
|
}
|
|
7862
|
-
return
|
|
7866
|
+
return typeof ((_b = navigator.mediaDevices) === null || _b === void 0 ? void 0 : _b.getDisplayMedia) === "function";
|
|
7863
7867
|
}
|
|
7864
7868
|
const defaultDisplayMediaConstraints = {
|
|
7865
7869
|
video: {
|
package/dist/legacy-esm.js
CHANGED
|
@@ -7856,10 +7856,14 @@ function getStream(constraintOpt_1) {
|
|
|
7856
7856
|
});
|
|
7857
7857
|
}
|
|
7858
7858
|
function hasGetDisplayMedia() {
|
|
7859
|
-
|
|
7859
|
+
var _a, _b;
|
|
7860
|
+
if (typeof navigator === "undefined") {
|
|
7861
|
+
return false;
|
|
7862
|
+
}
|
|
7863
|
+
if ((_a = navigator.userAgent) === null || _a === void 0 ? void 0 : _a.includes("Android")) {
|
|
7860
7864
|
return false;
|
|
7861
7865
|
}
|
|
7862
|
-
return
|
|
7866
|
+
return typeof ((_b = navigator.mediaDevices) === null || _b === void 0 ? void 0 : _b.getDisplayMedia) === "function";
|
|
7863
7867
|
}
|
|
7864
7868
|
const defaultDisplayMediaConstraints = {
|
|
7865
7869
|
video: {
|