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

I think destroying after X minutes is okay, and it might work for us,  although AFAICT many apps read stats at the end of the call, they might be caught unawares, if they are not polling periodically. (and their period needs to be shorter than X).

Additionally, maybe throwing an event when an object is destroyed? the app and the third party libs can attach handlers to it and call getStats(), which would mean that apps that do not poll regularly have a chance to collect/snapshot the stats data.

GitHub Notification of comment by vr000m
Please view or discuss this issue at using your GitHub account

Received on Sunday, 3 September 2017 19:46:35 UTC