Hello,
I’m looking for a way to implemnet the user’s webcam stream into my html5 browsergame as a texture. I tried to caatch the camera directly with a Media player but with no luck. The webcam device is not detected by the browsergame (with “enumerate video capture devices”) . I was also looking into this [Sample Project] since it is able to communicate between the game and the browser. With the JS Script I was able to detect my webcam and do an alert. But I can#t figure out how to feed the camera stream back into the game.
Any Ideas?
https://drive.google.com/file/d/1HJSNqTTlc2JJkvFAEpluSfKxhUpE23XO/view?usp=sharing