The cause might be the camera settings. So access the webcam settings on your device and check permissions.