-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MediaCapabilities API extended to WebRTC #619
Comments
I believe we're generally in favor? @padenot, @martinthomson, @jesup, @karlt, @bwc I believe this is mostly a code move (w3c/webrtc-extensions#95) from today's RTCRtpSender.getCapabilities() (bug 1531460) and RTCRtpReceiver.getCapabilities (bug 1531460) APIs to MediaCapabilities. The most sensitive part is probably w3c/webrtc-extensions#54, which I think was the motivator for moving this to MediaCapabilities, since that API already exposes similar info, to consolidate where this information is available. Not sure who else on the security team to rope in on that. |
Yes, but ... This describes an API that exposes a fairly large amount of fingerprinting information. It depends this on several grounds.
It would be good to understand the general trends here. Is the fingerprinting surface getting smaller or larger? What are browsers able to do to influence this? When we expose this information, what do users gain? All of this probably leads to us getting supportive still, but some aspects of the design (HDR in particular right now, but what is special might change over time) seem to generate very strong fingerprinting signals and I would like to understand how we might manage that problem better. |
There are different ways the fingerprinting entropy can be reduced. The Chromium implementation uses buckets to reduce the number of valid input configurations (resolution, framerate). In particular the code that responds to WebRTC queries is very restrictive and quantizes the input configuration into 1 out of 8 buckets per codec profile. The amount of information that is exposed will be tracked but I don't have any data at the moment. Some of the fields such as HDR is not applicable to WebRTC at the moment. I will prepare a PR to clarify this, this is tracked in this issue w3c/media-capabilities#187. |
See also #184 |
Request for Mozilla Position on an Emerging Web Specification
Other information
This is an extension to the existing MediaCapabilities API to support the type
webrtc
for queries to bothdecodingInfo
andencodingInfo
.This was first proposed at the WebRTC WG Virtual Interim that took place on December 2, 2020.
The text was updated successfully, but these errors were encountered: