Re: [webrtc-stats] What is the lifetime of datachannel stats? (#805)

> I'm not able to reproduce that. 

https://jsfiddle.net/fippo/gLs015hm/4/ makes it more obvious.
The problem here is that data channel ids are assigned odd/even depending on the DTLS role (see DCEP) which *might* change if there is an ICE role conflict. It is likely ok to expose after negotiation at least when `a=setup` is used.

But the point here is: why was a principle of "no packets no stats" proclaimed for RTP in #619 and is not followed by any browser for data channels?

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


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

Received on Wednesday, 6 August 2025 23:57:53 UTC