getUserMedia({ video: true});
and attached to a <video>
element. Each animation frame, gl.texImage2D(...)
is called to upload the latest video element frame to a WebGL texture then drawn into a canvas. On iOS 15 and earlier this works correctly - the camera appears on the screen. On iOS 15 beta 1 the camera does not appear.