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

> vendors exposing stats ahead of negotiation which I hope we can agree is unnecessary.

Correct, that should go away. I think such a change won't cause too much breakage.

```
type
id
ssrc
kind
```
are determined at creation (i.e. after SLD) - which is why chrome sets them right now.
```
transportId
```
should be set at least after (bundle) negotiation I think.

```
codecId
```
will also be set after negotiation.

0 is an appropriate value for the numeric values, see what Chrome currently does.
...

If you think libwebrtc should be changed I think this is going to break quite some code. Feel free to drive this change, this will be an interesting experience for you.

> Also, SSRCs can have collisions

SSRC collisions are a myth. Chrome only logs but takes no action on libsrtp detecting one, Firefox [crashes](https://searchfox.org/mozilla-central/source/dom/media/webrtc/transport/SrtpFlow.cpp#247)?

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


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

Received on Wednesday, 2 February 2022 19:25:13 UTC