1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-06-23 20:04:51 +02:00

ICE Candidate now overrides Echo Check for Relayed Candidates

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7256 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Thiago Camargo 2007-02-23 19:51:21 +00:00 committed by thiago
parent 1d11b2179f
commit 9e4be21775

View file

@ -254,6 +254,13 @@ public class ICECandidate extends TransportCandidate implements Comparable {
public void run() {
boolean isUsable = false;
// Media Proxy don´t have Echo features.
// If its a relayed candidate we assumpt that is Checked.
if (getType().equals("relay")) {
triggerCandidateChecked(true);
return;
}
for (TransportCandidate candidate : localCandidates) {
CandidateEcho echo = candidate.getCandidateEcho();
if (echo != null) {