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

@alvestrand Thanks, that helps a lot. So basically, just *replaceTrack* and *iceRestart* then.

As I mention in https://github.com/w3c/webrtc-stats/issues/300#issue-289452103, what remains then is to try to figure out the timing wrt those APIs (*replaceTrack* and *setLocalDescription* I suppose).

If we're going with events, I think it'd make sense to fire the event right before the *replaceTrack* or SLD calls resolve. Accurately snapshot-ing the number of packets sent that are attributable to the last track and not the new one, I guess already assumes we need to collect stats right in the middle of the in-parallel steps of *replaceTrack*).

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

Received on Tuesday, 23 January 2018 21:05:56 UTC