Re: [webrtc-stats] Issues with replaceTrack, will statsended fire or give me what I want. (#472)

The reason for having "onstatsended" was to be able to put in specifications for objects where you couldn't get stats for them after they were gone. I think address pair stats after an ICE restart was the other classic case. So #1 is not of great benefit.

In general mediating "something significant happened" through stats indicates that we're lacking this capability elsewhere in the model, and we should solve this there, not here.


-- 
GitHub Notification of comment by alvestrand
Please view or discuss this issue at https://github.com/w3c/webrtc-stats/issues/472#issuecomment-522982209 using your GitHub account

Received on Tuesday, 20 August 2019 12:01:51 UTC