Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
RTCPeerConnectionIceErrorEvent: hostCandidate clarification #2230
Currently, the explanatory test for hostCandidate states:
"The hostCandidate attribute is the local IP address and port used to communicate with the STUN or TURN server.
On a multihomed system, multiple interfaces may be used to contact the server, and this attribute allows the application to figure out on which one the failure occurred.
If use of multiple interfaces has been prohibited for privacy reasons, this attribute will be set to 0.0.0.0:0 or [::]:0, as appropriate."
Is an mDNS name ever placed in the hostCandidate field?
There does not seem to be any privacy issue since only mode 1 is allowing multiple interfaces and host candidates should already have exposed the IP address.
This could for instance leak information in a weird case where only STUN/TURN is allowed but on multiple interfaces.
It seems that Chrome might be implementing this, @alvestrand, @tQsW?