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}
This commit is contained in:
Philipp Hancke
2021-03-22 13:22:54 +01:00
committed by Commit Bot
parent e2ac591c0d
commit a9ba450339
5 changed files with 15 additions and 0 deletions

View File

@ -259,6 +259,7 @@ WEBRTC_RTCSTATS_IMPL(RTCIceCandidateStats, RTCStats, "abstract-ice-candidate",
&is_remote,
&network_type,
&ip,
&address,
&port,
&protocol,
&relay_protocol,
@ -281,6 +282,7 @@ RTCIceCandidateStats::RTCIceCandidateStats(std::string&& id,
is_remote("isRemote", is_remote),
network_type("networkType"),
ip("ip"),
address("address"),
port("port"),
protocol("protocol"),
relay_protocol("relayProtocol"),
@ -295,6 +297,7 @@ RTCIceCandidateStats::RTCIceCandidateStats(const RTCIceCandidateStats& other)
is_remote(other.is_remote),
network_type(other.network_type),
ip(other.ip),
address(other.address),
port(other.port),
protocol(other.protocol),
relay_protocol(other.relay_protocol),