w3c / webrtc-provisional-stats

https://w3c.github.io/webrtc-provisional-stats/
Other
6 stars 11 forks source link

Add RTCInboundRtpStreamStats.jitterBufferTargetDelay #19

Closed henbos closed 2 years ago

henbos commented 4 years ago

In the webrtc.org's implementation of the audio jitter buffer, the jitter buffer has an actual delay (jitterBufferDelay) and a target delay.

An implementation does not need to have a target, but for testing it is useful to be able to compare the actual value with the target value. This tells you something about how well samples get accelerated or decelerated.

Because this is a bit implementation-specific, and tells you more about the implementation's ability to deliver what it wants to deliver rather than direct measurements of achieved quality, this is added to the provisional stats spec for further evaluation.