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
webapp.js:179 Uncaught TypeError: Cannot read property 'getUserMedia' of undefined
at HTMLButtonElement.runWebcam (webapp.js:179)
at HTMLButtonElement.dispatch (jquery-3.3.1.min.js:2)
at HTMLButtonElement.y.handle (jquery-3.3.1.min.js:2)
The text was updated successfully, but these errors were encountered:
Making a note here after a convo with @ptitzler over slack. This error is thrown by all browsers (in some manner) when hitting the http url of the web app. This does not occur if you hit the https url. Users can bypass this in their browser using developer tools/settings though (method differs by browser). This is a security feature and cannot be solved "server-side" in the web app code, only "client-side" in a browser.
A "solution" to this may be to disable the button or add a dialog of some sort if the web app is loaded on http
The console log contains the following error message if a browser is used that requires a secure context to access
navigator.mediaDevices
as documented here https://developer.mozilla.org/en-US/docs/Web/API/Navigator/mediaDevicesThe text was updated successfully, but these errors were encountered: