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

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