ice4j icon indicating copy to clipboard operation
ice4j copied to clipboard

Contradicting candidate preferences

Open Geosearchef opened this issue 3 years ago • 1 comments
trafficstars

According to the comment at https://github.com/jitsi/ice4j/blob/28a23e1859b4f7383cb014642a683c5fb482bf36/src/main/java/org/ice4j/ice/Candidate.java#L558

, IPv6 is preferred to IPv4, this is indicated using preference values 30,40 > 10.

But the comment says, that link local is preferred to global. This is reflected by the value for link local, 30, being larger than the value for global, 40.

Shouldn't these two values be the other way round?

Geosearchef avatar Jun 28 '22 15:06 Geosearchef

what version of JAVA are you running? Java SE 17 and beyond fixes the IPv6 issues. Java SE 7 or prior version failed IPv6 in many situations.

jsklein avatar Sep 26 '23 17:09 jsklein