Philipp Hancke f868b76376 Fix empty hostname in getStats candidate url and show IPv6 in []
observed in a Teams call as "turn::3478?transport=udp".
This works for TURN TCP candidates but not for UDP which turned out to be a timing issue as the server_address' hostname got cleared by DNS resolution.

Also add [] around IPv6 addresses.

Bug: webrtc:15770
Change-Id: I14ba4fb7088d5a75b1d61739fae2b165be910b75
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/333781
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Philipp Hancke <phancke@microsoft.com>
Reviewed-by: Henrik Boström <hbos@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#41537}
2024-01-16 19:32:04 +00:00
..
2022-06-30 09:39:28 +00:00
2023-08-04 12:08:44 +00:00
2023-08-07 13:10:00 +00:00