- From: Varun Singh via GitHub <sysbot+gh@w3.org>
- Date: Mon, 19 Dec 2016 16:25:14 +0000
- To: public-webrtc-logs@w3.org
Currently the selector typically are basically fetching data from specific `tracks`. The examples typically are as follows: ```js // get audio track RTTs. var selector = pc.getRemoteStreams()[0].getAudioTracks()[0]; var rttMeasures = []; setTimeout(function () { pc.getStats(selector, function (report) { for (var i in report) { var now = report[i]; if (now.type == "outbound-rtp") { rttMeasures.append(now.roundTripTime); } } }, logError); }, 1000); ``` -- GitHub Notification of comment by vr000m Please view or discuss this issue at https://github.com/w3c/webrtc-stats/issues/116#issuecomment-268008237 using your GitHub account
Received on Monday, 19 December 2016 16:25:24 UTC