mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-26 14:02:06 +01: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:
parent
1d11b2179f
commit
9e4be21775
1 changed files with 7 additions and 0 deletions
|
@ -254,6 +254,13 @@ public class ICECandidate extends TransportCandidate implements Comparable {
|
||||||
public void run() {
|
public void run() {
|
||||||
boolean isUsable = false;
|
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) {
|
for (TransportCandidate candidate : localCandidates) {
|
||||||
CandidateEcho echo = candidate.getCandidateEcho();
|
CandidateEcho echo = candidate.getCandidateEcho();
|
||||||
if (echo != null) {
|
if (echo != null) {
|
||||||
|
|
Loading…
Reference in a new issue