You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
diff --git a/node_modules/@vatom/hifi-spatial-audio/dist/utilities/HiFiUtilities.js b/node_modules/@vatom/hifi-spatial-audio/dist/utilities/HiFiUtilities.js
index d4aa9c7..dd1c0c7 100644
--- a/node_modules/@vatom/hifi-spatial-audio/dist/utilities/HiFiUtilities.js+++ b/node_modules/@vatom/hifi-spatial-audio/dist/utilities/HiFiUtilities.js@@ -123,13 +123,19 @@ export class HiFiUtilities {
"window.RTCSessionDescription"
];
for (let i = 0; i < requiredFeatures.length; i++) {
- if (typeof (eval(requiredFeatures[i])) === "undefined") {- HiFiLogger.error("HiFi Audio API: The browser does not support: " + requiredFeatures[i]);- if (requiredFeatures[i] === "navigator.mediaDevices.getUserMedia") {- HiFiLogger.error("HiFi Audio API: Your browser may be preventing access to this feature if you are running in an insecure context, i.e. an `http` server.");+ try {+ if (typeof (eval(requiredFeatures[i])) === "undefined") {+ HiFiLogger.error("HiFi Audio API: The browser does not support: " + requiredFeatures[i]);+ if (requiredFeatures[i] === "navigator.mediaDevices.getUserMedia") {+ HiFiLogger.error("HiFi Audio API: Your browser may be preventing access to this feature if you are running in an insecure context, i.e. an `http` server.");+ }+ return false;
}
- return false;+ } catch (error) {+ console.error('[HiFiUtilities.js]', error)+ return false
}
+
}
return true;
}
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
@vatom/[email protected]
for the project I'm working on.Here is the diff that solved my problem:
This issue body was partially generated by patch-package.
The text was updated successfully, but these errors were encountered: