Only generate ms-turn candidates for ice-tcp base host addresses
authorYouness Alaoui <youness.alaoui@collabora.co.uk>
Sat, 19 Apr 2014 06:34:12 +0000 (02:34 -0400)
committerOlivier CrĂȘte <olivier.crete@collabora.com>
Sat, 17 May 2014 04:22:36 +0000 (00:22 -0400)
commit978dfdd3c37459509fae8ed66904e18e6bf05d6e
tree4924206e2894ddd4149ff9767cd35fbc44c91652
parentc6ba5a24973cb2e8c79b6abe69af8c2fc3c10674
Only generate ms-turn candidates for ice-tcp base host addresses

The issue here was that there would be a new turn discovery for UDP
and for TCP-ACTIVE host candidates and we'd get 2 relayed addresses
with the same base_addr causing two relayed candidates to have the
same foundation. This causes farstream to duplicate candidates
since we only expose the foundation when we signal new-candidate.
This will also help later for adding turn-tcp support.
agent/agent.c