Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add friendly error to createCapture() #6961

Merged
merged 2 commits into from
Apr 22, 2024
Merged

Conversation

mdb0
Copy link
Contributor

@mdb0 mdb0 commented Apr 11, 2024

Resolves #6402

Changes:
One small change to add friendly errors when using createCapture(). Handle errors when there is no webcam or the webcam access is denied.

PR Checklist

  • npm run lint passes

Copy link

welcome bot commented Apr 11, 2024

🎉 Thanks for opening this pull request! Please check out our contributing guidelines if you haven't already. And be sure to add yourself to the list of contributors on the readme page!

Copy link
Contributor

@davepagurek davepagurek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

There should be a friendly error when calling createCapture with no webcam
2 participants