mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-23 06:42:05 +01:00
Candidates Clear
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7313 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
79b19ce620
commit
1f3e5116c0
2 changed files with 2 additions and 2 deletions
|
@ -79,7 +79,6 @@ public class ICEResolver extends TransportResolver {
|
||||||
public synchronized void resolve() throws XMPPException {
|
public synchronized void resolve() throws XMPPException {
|
||||||
this.setResolveInit();
|
this.setResolveInit();
|
||||||
|
|
||||||
this.cancel();
|
|
||||||
for (TransportCandidate candidate : this.getCandidatesList()) {
|
for (TransportCandidate candidate : this.getCandidatesList()) {
|
||||||
if (candidate instanceof ICECandidate) {
|
if (candidate instanceof ICECandidate) {
|
||||||
ICECandidate iceCandidate = (ICECandidate) candidate;
|
ICECandidate iceCandidate = (ICECandidate) candidate;
|
||||||
|
@ -87,6 +86,8 @@ public class ICEResolver extends TransportResolver {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.clear();
|
||||||
|
|
||||||
for (Candidate candidate : iceNegociator.getSortedCandidates())
|
for (Candidate candidate : iceNegociator.getSortedCandidates())
|
||||||
try {
|
try {
|
||||||
Candidate.CandidateType type = candidate.getCandidateType();
|
Candidate.CandidateType type = candidate.getCandidateType();
|
||||||
|
|
|
@ -136,7 +136,6 @@ public abstract class TransportResolver {
|
||||||
public void clear() throws XMPPException {
|
public void clear() throws XMPPException {
|
||||||
cancel();
|
cancel();
|
||||||
candidates.clear();
|
candidates.clear();
|
||||||
//resolve();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue