W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > February 2018

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

From: henbos via GitHub <sysbot+gh@w3.org>
Date: Tue, 13 Feb 2018 10:19:52 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-365218593-1518517191-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:22:00 UTC