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

which is a great catch and I agree the current behavior of some implementations is potentially harmful in some rare cases.
But the spec behavior is more harmful so the action here is to fix the spec (and then fix some implementations a bit and then write moar tests).

Lets assume I tell you that I am going to send you video on ssrc 1234. You can then either
- loop over all stats and then determine you have not seen ssrc 1234 yet
- find a stats entry with that ssrc and then you know you have received 0 bytes

I assume the second variant is more common and will argue it is more useful because you can use the same logic to get the number of bytes received over the lifetime of the connection.

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


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

Received on Saturday, 29 January 2022 08:41:15 UTC