From 5fd8945ec46c352899ca339243eb0c6ec3996cdd Mon Sep 17 00:00:00 2001 From: emcho Date: Fri, 5 Mar 2010 13:07:08 +0000 Subject: [PATCH] Adds support for default remote candidates in components --- src/org/ice4j/ice/Component.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/org/ice4j/ice/Component.java b/src/org/ice4j/ice/Component.java index 1aa0310..98f0cd1 100644 --- a/src/org/ice4j/ice/Component.java +++ b/src/org/ice4j/ice/Component.java @@ -309,8 +309,8 @@ public class Component if(localCandidatesCount > 0) { - buff.append("\nDefault Candidate: " + getDefaultCandidate()); - buff.append("\n" + localCandidatesCount + " local candidates:"); + buff.append("\n" + localCandidatesCount + " Local candidates:"); + buff.append("\ndefault candidate: " + getDefaultCandidate()); synchronized(localCandidates) { @@ -330,8 +330,9 @@ public class Component if(remoteCandidatesCount > 0) { - buff.append("\n" + remoteCandidatesCount + " remote candidates:"); - + buff.append("\n" + remoteCandidatesCount + " Remote candidates:"); + buff.append("\ndefault remote candidate: " + + getDefaultRemoteCandidate()); synchronized(remoteCandidates) { for (Candidate cand : remoteCandidates)