Closed koush closed 5 months ago
For the sake of implementation consistency, I've switched it to always use MdnsLookup. This will prevent platform specific quirks that may be hard to track down.
Furthermore, while DnsLookup works on Mac, the thread spawn I suspect was causing crashes in my project anyways.
thanks
safari and now chrome will exchange ice candidates with mdns local addresses, ie:
This is done to prevent privacy leaks. https://datatracker.ietf.org/doc/html/draft-ietf-rtcweb-mdns-ice-candidates-04
My previous change was using dns.lookup to resolve these local addresses. However, that method only works on Mac, which provides transparent mdns lookup via dns-sd. Linux and Windows need to resolve this via a third party library. I'm using multicast-dns in this case.