Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

Handle error when camera isn't available #17

Open
julianduque opened this issue Sep 2, 2020 · 1 comment
Open

Handle error when camera isn't available #17

julianduque opened this issue Sep 2, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@julianduque
Copy link
Contributor

Currently, when trying to create a new GIF without a camera the application crashes.

@julianduque julianduque added enhancement New feature or request bug Something isn't working and removed enhancement New feature or request labels Sep 2, 2020
@clif-os
Copy link
Contributor

clif-os commented Sep 2, 2020

Seems like we probably need to handle this in the "componentDidMount" of the Webcam component using this api:
https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/enumerateDevices

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants