webrtc-stats icon indicating copy to clipboard operation
webrtc-stats copied to clipboard

Codec stats reveal hardware information which could be used for fingerprinting

Open henbos opened this issue 3 years ago • 1 comments

This was previously discussed in #550.

The reason for creating a separate issue specifically for codec is that this information is already exposed in RTCRtpSender/RTCRtpReceiver.getCapabilities(kind).codecs. Therefore it is likely that getCapabilities and getStats codecs will and should be resolved the same way and at the same time.

henbos avatar Sep 13 '22 07:09 henbos

Compare RTCCodecCapability with RTCCodecStats.

Also note that even without these two APIs, the codec information is in either way exposed the SDP (RTCPeerConnection.createOffer() and RTCPeerConnection.createAnswer()).

This makes this issue not just a stats issue, and we may consider moving it to webrtc-pc which is the source of all codec information.

henbos avatar Sep 13 '22 07:09 henbos