mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-12 18:49:39 +02:00
ICE Candidate now uses UDP Echo before PING
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7248 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
bd176c2515
commit
6cccdccac8
6 changed files with 80 additions and 8 deletions
|
@ -2,6 +2,8 @@ package org.jivesoftware.smackx.jingle.nat;
|
|||
|
||||
import org.jivesoftware.smack.test.SmackTestCase;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class BasicResolverTest extends SmackTestCase {
|
||||
|
||||
private int counter;
|
||||
|
@ -54,7 +56,7 @@ public class BasicResolverTest extends SmackTestCase {
|
|||
}
|
||||
});
|
||||
|
||||
tc.check();
|
||||
tc.check(new ArrayList<TransportCandidate>());
|
||||
|
||||
try {
|
||||
Thread.sleep(TransportResolver.CHECK_TIMEOUT);
|
||||
|
@ -83,7 +85,7 @@ public class BasicResolverTest extends SmackTestCase {
|
|||
}
|
||||
});
|
||||
|
||||
tc.check();
|
||||
tc.check(new ArrayList<TransportCandidate>());
|
||||
|
||||
try {
|
||||
Thread.sleep(TransportResolver.CHECK_TIMEOUT);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue