Re: [webrtc-stats] Missing definition of "deleted". When exactly do stats get deleted?

The [spec today](https://w3c.github.io/webrtc-stats/#dom-rtcstats-objectdeleted) says *"When a monitored object is destroyed, a final stats object is produced, carrying the values current at the time of destruction"*.

But it's not clear when these objects are destroyed.
 1. Does `replaceTrack` destroy the replaced "track" stats?
 2. Does the destruction of all track stats related to a stream destroy those "stream" stats?
 3. Does `transceiver.stop()` destroy related "sender", "receiver", "track", "inbound-rtp", "outbound-rtp", "remote-inbound-rtp", "remote-outbound-rtp", "codec", and "csrc" stats?
 4. Does iceRestart destroy old "candidate-pair", "local-candidate", "remote-candidate", and "transport" stats?
 5. Does `pc.close()` destroy everything?


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

Received on Thursday, 18 January 2018 00:15:58 UTC