W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > June 2017

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

From: Philipp Hancke via GitHub <sysbot+gh@w3.org>
Date: Fri, 16 Jun 2017 09:37:08 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-308981036-1497605826-sysbot+gh@w3.org>
I thought that this would be a nice way to find the transports:
```
pc.getStats().then(r => r.filter(report => report.type === 'transport'))
.then(transports => console.log(transports))
```
but unfortunately a maplike doesn't do filter or find :-/

-- 
GitHub Notification of comment by fippo
Please view or discuss this issue at https://github.com/w3c/webrtc-stats/issues/227#issuecomment-308981036 using your GitHub account
Received on Friday, 16 June 2017 09:37:14 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 4 June 2019 15:32:44 UTC