Adds tcptype to all TCP candidates.

This commit is contained in:
boris 2014-10-14 19:01:14 +00:00
parent 004d962d71
commit 088ca3609f

View File

@ -450,6 +450,7 @@ public class MultiplexingTcpHostHarvester
if (base.isSSL())
mappedCandidate.setSSL(true);
mappedCandidate.setTcpType(CandidateTcpType.PASSIVE);
mappedCandidates.add(mappedCandidate);
}
@ -476,6 +477,7 @@ public class MultiplexingTcpHostHarvester
if (base.isSSL())
portMappedCandidate.setSSL(true);
portMappedCandidate.setTcpType(CandidateTcpType.PASSIVE);
portMappedCandidates.add(portMappedCandidate);
}
@ -501,6 +503,7 @@ public class MultiplexingTcpHostHarvester
if (base.isSSL())
portMappedCandidate.setSSL(true);
portMappedCandidate.setTcpType(CandidateTcpType.PASSIVE);
portMappedCandidates.add(portMappedCandidate);
}