Adds support for default remote candidates in components

This commit is contained in:
emcho 2010-03-05 13:06:51 +00:00
parent 0a2a4e4a5c
commit 6de42443dc

View File

@ -114,6 +114,9 @@ public class Ice
{
List<Candidate> remoteCandidates = remoteComponent.getLocalCandidates();
localComponent.setDefaultRemoteCandidate(
remoteComponent.getDefaultCandidate());
for(Candidate rCand : remoteCandidates)
{
localComponent.addRemoteCandidate(new RemoteCandidate(