Handle error when camera isn't available
julianduque opened this issue · comments
Julián Duque commented
Currently, when trying to create a new GIF without a camera the application crashes.
Clifton Campbell commented
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