Hi, I'm working on setting up my own WebRTC app, and I'm having some problems with my current implementation. When I test my app (at
http://chatphrase.com/test/ ) with a friend of mine who lives less than a mile away, we're connected for a few seconds, then the call is disconnected (each of us sees the other side's streams freeze, and chrome://webrtc-internals reports that the ICE connection has disconnected).
At first I thought it was just the TURN server I was using (
turn:homeo:ho...@turn.bistri.com:80), but now I'm trying it with
numb.viagenie.ca and I'm getting the same result, so I'm thinking this isn't an issue with the TURN server I'm using. (Also, why would a connection between two ordinary residential NAT routers need to go through TURN?)
Since we've tested over
https://apprtc.appspot.com and our systems can connect just fine, I'm led to believe this is an issue with my implementation. Can anybody see what's wrong? (To test, go to
http://chatphrase.com/test/, enter an alphanumeric phrase on one end, then enter the same phrase on the other end to be connected - I'm available as one end for testing, you can contact me via email or Google Hangouts at
stu...@testtrack4.com.)