I've been struggling to display the video from an Axis Camera onto a texture. The camera is providing the video as an image with the source being the camera's IP address.
I initially tried to directly apply the image to the texture, but encountered an error related to Cross-origin resource sharing. After some online research, I came across this resource. I decided to follow the example provided and it worked perfectly with my webcam and the 71st version of Three.js! However, when I attempted to apply the same method with my Axis camera, I received the same error:
Uncaught SecurityError: Failed to execute 'texImage2D' on 'WebGLRenderingContext': Tainted canvases may not be loaded.
Does anyone have any suggestions on how to resolve this issue?