[webrtc-stats] RTCCodecStats.clockRate - media sampling rate or the codec clock rate? (#785)

hamishwillee has just created a new issue for https://github.com/w3c/webrtc-stats:

== RTCCodecStats.clockRate - media sampling rate or the codec clock rate? ==
Spec for `RTCCodecStats.clockRate` says it is the  "media sampling rate". However the parameter that is set is defined in `RTCRtpCodec.clockRate` as _The codec clock rate expressed in Hertz_, which on MDN is documented as "the rate at which the codec's RTP timestamp advances"

I'm largely ignorant of this, but looking around, it seems that these are different things. So I am wondering if `RTCCodecStats.clockRate`  definition is correct, and is expected.

This is for MDN docs update - https://github.com/mdn/content/pull/32452/files#r1503650664

Please view or discuss this issue at https://github.com/w3c/webrtc-stats/issues/785 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 1 March 2024 03:34:44 UTC