If you are presented with either a NotAllowedError or PermissionDeniedError message, this is usually caused when the user has denied, or previously denied, access to the webcam.