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

Re: [webrtc-stats] Is keeping stats around a memory problem?

From: Harald Alvestrand via GitHub <sysbot+gh@w3.org>
Date: Thu, 11 Jan 2018 14:46:35 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-356955214-1515681994-sysbot+gh@w3.org>
Another possible API is to have an event every time a stats object reaches the end of its lifetime, containing the stats at the time of ending / being deleted. That would avoid consuming memory in the case where nobody cares what the stats say (no event listener => no stats produced).

-- 
GitHub Notification of comment by alvestrand
Please view or discuss this issue at https://github.com/w3c/webrtc-stats/issues/235#issuecomment-356955214 using your GitHub account
Received on Thursday, 11 January 2018 14:46:38 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:21:58 UTC