Adds support for default remote candidates in components

This commit is contained in:
emcho 2010-03-05 13:07:08 +00:00
parent 6de42443dc
commit 5fd8945ec4

View File

@ -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)