I have a webcam video jpeg stream that can be accessed from an IP address. I want to take the live jpeg feed and apply it to a texture in Unity but I’m having difficulties doing so.
I’ve tried this example Unity - Scripting API: WWW.LoadImageIntoTexture
and entering the stream IP as the url (ex. 192.168…:8080) but it never finishes downloading a jpeg frame and can’t get pass yield www; which results in a blank texture. The url never seems to pickup the stream images but works fine when I enter a random picture link found online.
Maybe it has something to do with the stream protocol? I can view the stream just fine by typing the IP into a web browser.
Any suggestions?