Improvement on Turnport for debugging
Reported by luke.we...@gmail.com, Jun 10 2013
void TurnAllocateRequest::OnResponse ... - > const StunAddressAttribute* relayed_attr = response->GetAddress(STUN_ATTR_XOR_RELAYED_ADDRESS); Give a warning if relayed_attr is localhost or non routable. Would have saved a ton of time to know I had a misconfigured turn server. The background on this is quite annoying. Start by misconfiguring your turn server to return localhost as your relayed address. Both peers using the same turn server will work(although incorrectly). One peer using the turn server in a situation where a relay is needed will fail. Both peers using a misconfigured turn server on different ips will fail.
Jun 10 2013,
Oct 16 2014,
Nov 4 2015,
This bug hasn't been modified for more than a year. Is this still a valid open issue?
Nov 8 2016,
Sign in to add a comment