Phylliida / P2P.NET

Peer to peer networking in C# using WebRTC
MIT License
170 stars 30 forks source link

no logs in Console #1

Closed zephyo closed 6 years ago

zephyo commented 7 years ago

hi, this looks really useful, but a connection doesn't seem to get established. I opened a webgl build of the demo scene, code untouched, but console didn't show id/connection/any logs. I tried both the bean and nameless-scrubland wsurls. PS the js console gave me these errors; screen shot 2017-10-14 at 12 06 02 pm

Phylliida commented 7 years ago

Hmm, so unfortunately the issue is that WebGL doesn't allow multiple threads (and my code is written in a multithreaded way). So, ironically, the major platform that can't run P2P.NET is webgl. One way to get around this is to use a javascript plugin (you can only do this for WebGL) this might work I'm not sure

zephyo commented 7 years ago

thanks for the fast reply, I'll check it out; might just stick to standalone since WebGL has so many issues