Fixes connection negociation in LAN for Google's ICE variant.

This commit is contained in:
seb 2011-10-18 09:50:30 +00:00
parent d6c1ab0097
commit cae2e2ec9c

View File

@ -390,7 +390,11 @@ public class CheckList
|| (pair.getState() == CandidatePairState.IN_PROGRESS || (pair.getState() == CandidatePairState.IN_PROGRESS
&& pair.getPriority() < nominatedPair.getPriority()))) && pair.getPriority() < nominatedPair.getPriority())))
{ {
pairsIter.remove(); if(parentStream.getParentAgent().getCompatibilityMode() ==
CompatibilityMode.RFC5245)
{
pairsIter.remove();
}
} }
} }