[webrtc-stats] What should we do about onstatsended? (#480)

henbos has just created a new issue for https://github.com/w3c/webrtc-stats:

== What should we do about onstatsended? ==
Now that there is little point to having track/sender/receiver stats dictionaries around because all their members are made obsolete (#479), it seems that the only use case for them are having objects that would trigger `onstatsended`.

So what is the use case for `onstatsended`? Well, it's nice to know if replaceTrack() was called so that you can correlate stats changing with that point in time.

I think we can do better and not mandate people implement track attachment stats anymore. So what do we do about `onstatsended`?

Please view or discuss this issue at https://github.com/w3c/webrtc-stats/issues/480 using your GitHub account

Received on Thursday, 29 August 2019 16:34:28 UTC