Adds support for default remote candidates in components
This commit is contained in:
parent
6de42443dc
commit
5fd8945ec4
@ -309,8 +309,8 @@ public class Component
|
|||||||
|
|
||||||
if(localCandidatesCount > 0)
|
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)
|
synchronized(localCandidates)
|
||||||
{
|
{
|
||||||
@ -330,8 +330,9 @@ public class Component
|
|||||||
|
|
||||||
if(remoteCandidatesCount > 0)
|
if(remoteCandidatesCount > 0)
|
||||||
{
|
{
|
||||||
buff.append("\n" + remoteCandidatesCount + " remote candidates:");
|
buff.append("\n" + remoteCandidatesCount + " Remote candidates:");
|
||||||
|
buff.append("\ndefault remote candidate: "
|
||||||
|
+ getDefaultRemoteCandidate());
|
||||||
synchronized(remoteCandidates)
|
synchronized(remoteCandidates)
|
||||||
{
|
{
|
||||||
for (Candidate cand : remoteCandidates)
|
for (Candidate cand : remoteCandidates)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user