- > const StunAddressAttribute* relayed_attr =
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.