[webrtc-stats] RTCIceCandidatePairStats.priority is wrong

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
```js
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