Accommodate hostname candidates in adddress family counting in
RTCPeerConnectionHandler.

Currently RTCPeerConnectionHandler::OnIceCandidate only considers
candidates with literal IPv4 or IPv6 addresses as legitimate. Hostname
candidates are now supported by WebRTC, notably when the mDNS
concealment of local IPs is enabled.

Bug: 930339
Change-Id: Ia84328c39a5163f0816b7522421a56cc79aaf965
Reviewed-on: https://chromium-review.googlesource.com/c/1472253
Reviewed-by: Henrik Boström <hbos@chromium.org>
Commit-Queue: Qingsi Wang <qingsi@google.com>
Auto-Submit: Qingsi Wang <qingsi@google.com>
Cr-Commit-Position: refs/heads/master@{#632683}
1 file changed