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

[webrtc-stats] RTCIceCandidatePairStats.priority is wrong

From: jan-ivar via GitHub <sysbot+gh@w3.org>
Date: Mon, 05 Feb 2018 16:56:32 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issues.opened-294466084-1517849791-sysbot+gh@w3.org>
jan-ivar has just created a new issue for https://github.com/w3c/webrtc-stats:

== RTCIceCandidatePairStats.priority is wrong ==
[RTCIceCandidatePairStats](https://w3c.github.io/webrtc-stats/#dfn-rtcicecandidatepairstats) has
unsigned long long            priority;

The values as defined cannot be accurate, due to a limitation in JavaScript. Never filed an issue on [this](https://bugzilla.mozilla.org/show_bug.cgi?id=1258725#c2) apparently:

*"JS only has double-precision floating point as a numeric type.  So "unsigned long long" in IDL really means "53-bit integer" in practice. If the API is relying on exact representation of integers that don't fit in 53 bits, it's a spec bug."*

We should probably fix the API if we care about accurate values.

Please view or discuss this issue at https://github.com/w3c/webrtc-stats/issues/321 using your GitHub account
Received on Monday, 5 February 2018 16:56:35 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:22:00 UTC