Re: [webrtc-stats] RTCOutboundRtpStreamStats should be created "early" (#797)

> we should make this very clear in the spec exactly when they show up.

💯 - not before SRD because we do not know if the remote side wants what we offer.

The first two tests on https://wpt.live/webrtc-stats/rtp-stats-creation.html do not exchange ice candidates.
They do exchange full O/A and hence fail in Chromium.

> After SRD(answer) we know both of those things.

Technically you can still have a DTLS role change as a result of an ICE role conflict.
But this just means we can not show the dataChannelIdentifier field before the DTLS handshake is done.
We can (imo) show it after SRD.

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


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

Received on Monday, 3 March 2025 15:17:02 UTC