W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > January 2022

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

From: Philipp Hancke via GitHub <sysbot+gh@w3.org>
Date: Sat, 29 Jan 2022 08:41:13 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-1024867896-1643445672-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:55 UTC