mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-29 23:42:06 +01:00
Remove Echo
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7050 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
23d27b9ffc
commit
8f0b41d8b1
1 changed files with 1 additions and 6 deletions
|
@ -81,12 +81,7 @@ public class ICEResolver extends TransportResolver {
|
||||||
transportCandidate.setLocalIp(candidate.getBase().getAddress().getInetAddress().getHostAddress());
|
transportCandidate.setLocalIp(candidate.getBase().getAddress().getInetAddress().getHostAddress());
|
||||||
transportCandidate.setPort(getFreePort());
|
transportCandidate.setPort(getFreePort());
|
||||||
this.addCandidate(transportCandidate);
|
this.addCandidate(transportCandidate);
|
||||||
try {
|
|
||||||
transportCandidate.addCandidateEcho();
|
|
||||||
}
|
|
||||||
catch (SocketException e) {
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
System.out.println("C: " + candidate.getAddress().getInetAddress() + "|" + candidate.getBase().getAddress().getInetAddress() + " p:" + candidate.getPriority());
|
System.out.println("C: " + candidate.getAddress().getInetAddress() + "|" + candidate.getBase().getAddress().getInetAddress() + " p:" + candidate.getPriority());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue