A workaround that I have found in the webkit forums posted by @ajaymati1000
Prewarming the capture device(here the camera) helps fix the crash.
Get all the necessary permissions and then write down this anywhere before you enter into the web camera flow.
let _ = AVCaptureDevice.default(.builtInWideAngleCamera, for: .video, position: .front)
Topic:
Safari & Web
SubTopic:
General
Tags: