Re: [webrtc-stats] RTCPeerConnectionStats: should they contain a link to transports?

@fippo You can do
```js
pc.getStats().then(report => [...report.values()].filter(stat => stat.type == 'transport'))
```

But these are all for-loops in my book. RTCPeerConnectionStats is effectively a global in getStats, which means you'd still need a for-loop, so what would it buy us?

It seems we can also get transports off of RTCRTPStreamStats's transportId. That seems plenty to me, so I think I need a clearer description of the problem.

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

Received on Monday, 19 June 2017 12:40:05 UTC