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
the navigator.mediaDevices is undefined -- unless you're accessing the code in a "secure context": via https://... or file:///
This is not checked, causing an exception -- except since the exception is not thrown by the call itself, but by the code, it trickles down to the final .catch((error) =>, which neither logs nor re-throws the Error, it just swallows it.
I'll submit an Issue and a Pull for this, of course, but there are a couple of other things, too...
OK, so part one of the issue was this:
iOS will refuse to allow Javascript code to access navigator. In RTCSession.js, when we call
return navigator.mediaDevices.getUserMedia(mediaConstraints)
the navigator.mediaDevices is
undefined
-- unless you're accessing the code in a "secure context": via https://... or file:///This is not checked, causing an exception -- except since the exception is not thrown by the call itself, but by the code, it trickles down to the final
.catch((error) =>
, which neither logs nor re-throws the Error, it just swallows it.I'll submit an Issue and a Pull for this, of course, but there are a couple of other things, too...
Originally posted by @pjkundert in #860 (comment)
The text was updated successfully, but these errors were encountered: