Studio Display Camera occasionally fails to produce frames

Every one in 24 times, when trying to record the camera of the Apple Studio Display, no video is produced and the camera turns itself off. The camera just silently fails without reporting any error.