1

everyone.

I would like to stream the image from a cellphone camera to a PC using Unity3D. I know this question has been addressed but I found just one solution using unity3d and part of the script is deprecated.

Does anyone know a tutorial or any thing that I could guide myself to start?

Thanks in advance. I appreciate any help

mordecai
  • 529
  • 5
  • 25
  • *"but I found just one solution using unity3d and part of the script is deprecated"* No part of that answer is deprecated. You will likely not find tutorials for such thing. Read image from the camera and send through network. You must understand TCP socket + Threading and Unity coroutine in order to do that. – Programmer Sep 19 '17 at 00:26
  • Hi @Programmer, I think the solution is yours. The part of the answers which is deprecated is the thread one. The library Loom is deprecated and I couldnt find a download for it on Asset Store. – mordecai Sep 20 '17 at 00:03
  • I replaced these parts of the code with native Systems.Threading. I tried to run it, I didnt get any errors but it is not actually working. I created two projects, one to run on the cellphone (server) and the other one on my desktop (client) to receive the image camera's cellphone. This IP variable in the Receiver script is the ip address of the cellphone, right? Because, when I run the project, the console only shows the log warning "Connecting to server...", but nothing else. – mordecai Sep 20 '17 at 00:22
  • 1
    You can find the `Loom` API on github by simply Googling `Loom.RunAsync`. – Programmer Sep 20 '17 at 06:07
  • Thanks a lot. I found it on github indeed and the scripts worked perfectly. – mordecai Sep 20 '17 at 21:30

0 Answers0