Re: [webrtc-stats] WPT tests are wrong about when "outbound-rtp" and "inbound-rtp" stats appear (#619)

The behavior herein continues to be harmful, in particular in this case:
https://jsfiddle.net/fippo/wtq1jr2n/1/
Firefox removes the outbound-rtp stats when the track is replaced with null and resurfaces them when a track is attached again? Notably *stopping* the track does not remove the stats.

That is a rather inconsistent interpretation of "no packets no stats", no? Which FWIW is generally not a rule that is followed elsewhere, see #804 and #805

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


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

Received on Wednesday, 16 April 2025 23:06:52 UTC