Hi all,
I’ve a camera on an Unity game running on a Windows Computer and I want camera signal streamed to an android device screen over a local network (Wi-Fi), in real-time.
I can’t find a way to send camera’s video stream to the network and how to show on the android device.
It’s there any asset ? Where to start ?
Thank you for advice.
I don’t know any tutorials laying around, or assets, or something just canned that you simply drag and drop.
But there’s a few places I’d start.
Now if you need high quality I’d definitely say look into LibVLC, using the VLC streaming feature of it. It has a .net wrapper as well:
https://wiki.videolan.org/C_Sharp/
You could also stream it like a series of frames, like a webcam does, over a socket of some sort (google ‘C# stream video over socket’ for examples).
You could even look for other .net/mono libraries that might help you out. Note, you don’t have to restrict yourself to ‘unity’ related stuff, as long as it’s .net 3.5 or earlier, Unity will usually support it (depending the dependencies).