- From: Jan-Ivar Bruaroey via GitHub <sysbot+gh@w3.org>
- Date: Wed, 26 Jan 2022 00:13:44 +0000
- To: public-webrtc@w3.org
jan-ivar has just created a new issue for https://github.com/w3c/webrtc-stats: == WPT tests are wrong about when "outbound-rtp" and "inbound-rtp" stats appear == The [spec](https://w3c.github.io/webrtc-stats/#the-rtp-statistics-hierarchy) says: _"The lifetime of all RTP [monitored objects](https://w3c.github.io/webrtc-stats/#dfn-monitored-object) starts when the [RTP stream](https://w3c.github.io/webrtc-stats/#dfn-rtp-stream) is first used: When the first RTP packet is sent or received on the [SSRC](https://w3c.github.io/webrtc-stats/#dfn-ssrc) it represents, or when the first RTCP packet is sent or received that refers to the SSRC of the RTP stream."_ TL;DR: no packets no stats. Yet these WPT tests assume stats appear immediately after negotiation (ahead of `"connected"` even): * [RTCPeerConnection-track-stats.https.html](https://github.com/web-platform-tests/wpt/blob/7b0ebaccc62b566a1965396e5be7bb2bc06f841f/webrtc/RTCPeerConnection-track-stats.https.html#L106) * [RTCRtpSender-getStats.https.html](https://github.com/web-platform-tests/wpt/blob/7b0ebaccc62b566a1965396e5be7bb2bc06f841f/webrtc/RTCRtpSender-getStats.https.html#L56) * [RTCPeerConnection-track-stats.https.html](https://github.com/web-platform-tests/wpt/blob/7b0ebaccc62b566a1965396e5be7bb2bc06f841f/webrtc/RTCPeerConnection-track-stats.https.html#L141) Please view or discuss this issue at https://github.com/w3c/webrtc-stats/issues/619 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 26 January 2022 00:13:46 UTC