p5js WEBGL textureWrap can't collaborate with video streaming
#5.859 aberto em 11 de nov. de 2022
Métricas do repositório
- Stars
- (20.784 stars)
- Métricas de merge de PR
- (Mesclagem média 8d 13h) (45 fundiu PRs em 30d)
Description
I recently created a video streaming sketch with p5js WEBGL. The content of the code is: create video capture, then render it on a cube as texture, and then share it with other clients using this library p5LiveMedia. When I finish, I try to view the video capture on two different tabs, but the video was not successfully rendered on Chrome. At first, I thought it was a problem with the browser, because it worked on safari, but error line is showing on neither browser's console. Eventually, I found that it was because I used this line: texture mode (REPEAT); The problem is solved, but does anyone know why might this happen?
This is my project demo, you are welcome to experience it: https://editor.p5js.org/hershey_zhang/sketches/lK4ZpM1hA