W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > October 2019

[webrtc-pc] Add more specificity on the format of RTCStats.ids (#2319)

From: henbos via GitHub <sysbot+gh@w3.org>
Date: Thu, 03 Oct 2019 11:33:02 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issues.opened-502010479-1570102381-sysbot+gh@w3.org>
henbos has just created a new issue for https://github.com/w3c/webrtc-pc:

== Add more specificity on the format of RTCStats.ids ==
Even with unpredictable IDs ([PR](https://github.com/w3c/webrtc-pc/pull/2304)), the spec has nothing to say about which symbols are or are not allowed or what the length of the string may be. Problems:
- This could potentially make it difficult to store stats objects in a database. Weird symbols or long strings.
- If you want to make a dashboard for stats it would be nice to know how long the ids can be for displayability.
- If different user agent's have characteristically different ids this could become a silly API for determining user agent/some amount of fingerprinting.

Proposal:
- Only alphanumerical symbols. (Any reason to include dashes?)
- Always 32 characters long.

One could go even further, but I don't think it's worth over-specifying this since we still want "guidelines" and not a specific algorithm for how to generate the ids, I assume.

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2319 using your GitHub account
Received on Thursday, 3 October 2019 11:33:03 UTC

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