Re: [webrtc-stats] Stats example uses confusing variable names (#768)

@henbos @jan-ivar lets move some of the discussion about divide-by-zero from #794 here

The current sample is old and the only cool thing it does is showing remoteId. But it does not call out divide-by-zero, does not explain why a previous report could go away, why the timestamp might not get updated etc. Oh and `})` is a syntax error.

Calculating STUN RTT is a much easier thing to explain and can be used to show both instantaneous and cumulative measures.
For showing map traversal "what codec is being sent"

-- 
GitHub Notification of comment by fippo
Please view or discuss this issue at https://github.com/w3c/webrtc-stats/issues/768#issuecomment-2689237757 using your GitHub account


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

Received on Thursday, 27 February 2025 22:21:27 UTC