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

One track stats object is created for each track attachment, its counters should be reset relative to when it was attached.
It should be: `trackStats = (senderStats - senderStatsFromWhenTrackWasAttached)`

It might be useful to fire an event when something happens like a track is attached or detached containing 'sender' stats snapshots (despite the sender not being deleted) even if we get rid of 'track' stats. I had not thought of that.

-- 
GitHub Notification of comment by henbos
Please view or discuss this issue at https://github.com/w3c/webrtc-stats/pull/322#issuecomment-365218593 using your GitHub account

Received on Tuesday, 13 February 2018 10:21:04 UTC