- From: jan-ivar via GitHub <sysbot+gh@w3.org>
- Date: Mon, 19 Jun 2017 12:39:59 +0000
- To: public-webrtc-logs@w3.org
@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