can video with src = URL.createObjectURL(stream) be used with gl.texImage2D as here?
the idea is to use webcam stream as a source to webgl shader. however, if you only overlay the video on top of html video element, this will probably not work ootb. I am not sure if you can intercept the call to gl.texImage2D and supply the actual video as the texture, but if you could - it would be awesome.
Unfeasible unless I miss something. Indeed this plugin places a native iOS UIView on top of the browser. And not, I cannot supply the video as the texture (or I have no idea on how to do that). Sorry.
I'm not sure I understand the gl.textImage2D implication, but in new ios safari versions it is possible to feed createObjectURL(file) to video src. Would it not work with stream?
e.g. this works for me on mobile safari:
No. The video stream is handled by the native Swift/ObjC layer of the plugin.