commit | a9ba4503397b41a12e57bbf8f70441ebfcf54ed1 | [log] [tgz] |
---|---|---|
author | Philipp Hancke <philipp.hancke@googlemail.com> | Mon Mar 22 12:22:54 2021 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Mar 23 06:29:10 2021 |
tree | f6eeb5927d621b69801e80845ca1ebb55d694b6a | |
parent | e2ac591c0d43ad7bc398950a6c6f4d4aa05dfa87 [diff] [blame] |
stats: add address as alias for ip this was renamed in https://github.com/w3c/webrtc-pc/issues/1913 and https://github.com/w3c/webrtc-stats/pull/381 Spec: https://w3c.github.io/webrtc-stats/#dom-rtcicecandidatestats-address BUG=chromium:968203 Change-Id: If75849fe1dc87ada6850e7b64aa8569e13baf0d8 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/212681 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Reviewed-by: Henrik Boström <hbos@webrtc.org> Commit-Queue: Philipp Hancke <philipp.hancke@googlemail.com> Cr-Commit-Position: refs/heads/master@{#33534}
diff --git a/pc/rtc_stats_collector.cc b/pc/rtc_stats_collector.cc index 6f5f035..c14f414 100644 --- a/pc/rtc_stats_collector.cc +++ b/pc/rtc_stats_collector.cc
@@ -652,6 +652,7 @@ RTC_DCHECK_EQ(rtc::ADAPTER_TYPE_UNKNOWN, candidate.network_type()); } candidate_stats->ip = candidate.address().ipaddr().ToString(); + candidate_stats->address = candidate.address().ipaddr().ToString(); candidate_stats->port = static_cast<int32_t>(candidate.address().port()); candidate_stats->protocol = candidate.protocol(); candidate_stats->candidate_type =