[webrtc-stats] Identifier ambiguity in stat objects

balazskreith has just created a new issue for https://github.com/w3c/webrtc-stats:

== Identifier ambiguity in stat objects ==
Hello,

Recently I have created a graph to have an overview how we can reach one webrtc stat object from another one (See the attachment). I used the names listed in the [RTCStatsType](https://www.w3.org/TR/webrtc-stats/#dom-rtcstatstype) to identify attributes in other objects pointing to another stat object. This works quite well, except (as far as I see) for transportId.
I have found that transportId points to RTCTransportStats in all appearances except in [RTCIceCandidateStats](https://www.w3.org/TR/webrtc-stats/#dom-rtcicecandidatestats) where transportId points to RTCIceCandidateStats. 
Is there a special reason for that, or may I ask to avoid ambiguity and came up with a better name, for an instance: candidateId?
[webrtcStats.gv.pdf](https://github.com/w3c/webrtc-stats/files/2015818/webrtcStats.gv.pdf)


Please view or discuss this issue at https://github.com/w3c/webrtc-stats/issues/350 using your GitHub account

Received on Friday, 18 May 2018 07:06:05 UTC