Check if you have permitted to access the camera. Also, reboot your device and close all the apps.
open