Get live video stream in c# Unity

Backer picture Backer · Oct 9, 2012 · Viewed 13k times · Source

I'm using Unity3D c# and want to read a video feed to display on a texture.

The issue here is that I would like to get the video from a live feed e.g. IP Camera. Guessing similar sites like this or this uses similar techniques live. Also testing against apps like this

Don't really know where to start, trying out TCPListener and Socket but can't really use a url, just ip and port.

Answer

giancarlo todone picture giancarlo todone · Mar 31, 2013

Simple solution is to fetch single frames from image server application that provide such a feature. An example of such a technique can be found in Unity3d documentation A simple Image server to test that setup could be any IP-cam application. See this article for details.