Re: [webrtc-stats] Rename sender/receiver/track stats

@henbos Yes this was my point in the [slide]( we didn't get to at the interim. It's not entirely trivial though:

let senderStat = [...(await sender.getStats()).values()].find(s => s.type == “sender”);
let oldTracks = [...sender.getCompletedStats().values()].filter(s => s.type == “track”);

trackFramesSent = oldTracks.reduce((n, old) => n - old.framesSent, senderStat.framesSent);

GitHub Notification of comment by jan-ivar
Please view or discuss this issue at using your GitHub account

Received on Thursday, 18 January 2018 00:26:06 UTC