Need help in handling "User denied permission to use device"

Hello,
I’m new to Jitsi and I’m trying to use lib-jitsi-meet to create a conference in my react app. I’ve been able to create a conference using example.js in the docs but while I was testing it with a friend who has his webcam disabled and it threw an exception

Any comments on how and where to handle this exception so people who have webcam disabled can also join.
Thanks!