W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > January 2018

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

From: jan-ivar via GitHub <sysbot+gh@w3.org>
Date: Tue, 23 Jan 2018 21:05:54 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-359930280-1516741553-sysbot+gh@w3.org>
@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

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:43 UTC