Use the local candidate base, if available.
This commit is contained in:
parent
65a427cc38
commit
f08c6546ae
@ -726,7 +726,12 @@ public class CandidatePair
|
||||
{
|
||||
return null;
|
||||
}
|
||||
else if (localCandidate instanceof TcpHostCandidate)
|
||||
|
||||
LocalCandidate base = localCandidate.getBase();
|
||||
if (base != null)
|
||||
localCandidate = base;
|
||||
|
||||
if (localCandidate instanceof TcpHostCandidate)
|
||||
{
|
||||
/*
|
||||
* TcpHostCandidates can have multiple sockets, and the one
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user