W3C home > Mailing lists > Public > public-webrtc@w3.org > May 2018

[webrtc-stats] Identifier ambiguity in stat objects

From: Balazs Kreith via GitHub <sysbot+gh@w3.org>
Date: Fri, 18 May 2018 07:05:49 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-324293884-1526627133-sysbot+gh@w3.org>
balazskreith has just created a new issue for https://github.com/w3c/webrtc-stats:

== Identifier ambiguity in stat objects ==

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?

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:18:41 UTC