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
How can we catch the event, when a user denies/blocks camera access?
Right now I get this error in the console:
Unhandled Promise Rejection: Error getting userMedia, error = NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.
But it would be nice to have an event/callback for this, so we can run further JS-code in this case.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello
How can we catch the event, when a user denies/blocks camera access?
Right now I get this error in the console:
Unhandled Promise Rejection: Error getting userMedia, error = NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.
But it would be nice to have an event/callback for this, so we can run further JS-code in this case.
Thanks,
Aldo
Beta Was this translation helpful? Give feedback.
All reactions