Ashley , xoros did you manage to make it work ? i having the same issue,
My problem is that i want to open the "chat demo" in a separate machine to work as Host, this "host" is a dedicated server windows machine, with apache, where my "chat demo" is hosted , the problem is when i tried to connected from another machine, it connects but i can't see others peers and eventually i get kicked
i added the Turn server with the multiplayer object, before the multiplayer signal connect action ,
"turn:mydomain.com:port" , in my case i don't have setup any credentials
i setup the server following this tutorial , i installed on a window machine with cygwin, it runs ok,
in this windows server machine i ran the Chat demo (modified to add the TURN ) , in a web browser, so it will served as host (that is my main goal)
in the turnserver.conf:
listening_port = 3478
listening_ip = 192.168.0.1
then i have a NAT from the router to UDP/TCP Port 3478 to 192.168.0.1 ip
in the Chat demo i added it as "turn:mydomain:3478"
nothing work,
then i added manually to c2mp.js where the ICE server are hardcode, as the first one,
var DEFAULT_ICE_SERVER_LIST = [
{ "urls": "turn:mydomain.com:3478" },
{ "urls": "stun:stun.l.google.com:19302" },
{ "urls": "stun:stun1.l.google.com:19302" },
{ "urls": "stun:stun2.l.google.com:19302" },
{ "urls": "stun:stun3.l.google.com:19302" },
{ "urls": "stun:stun4.l.google.com:19302" },
{ "urls": "stun:23.21.150.121" } // mozilla-operated server
];
it worked after serveral F5 in the browser, but just one time, i have managed to get Logs
2852: handle_udp_packet: New UDP endpoint: local addr 192.168.0.1:3478, remote addr REMOTE_IP:59812
2852: session 128000000000000001: user <>: incoming packet BINDING processed, success
2852: handle_udp_packet: New UDP endpoint: local addr 192.168.0.1:3478, remote addr REMOTE_IP:59813
2852: session 128000000000000002: user <>: incoming packet BINDING processed, success
but still, i couldn't see the Host or the others peers