- From: jan-ivar via GitHub <sysbot+gh@w3.org>
- Date: Wed, 17 Jan 2018 23:50:56 +0000
- To: public-webrtc-logs@w3.org
@alvestrand I like the event idea. We might want to bikeshed on the names a bit (final = deleted = completed = ended). There's also the question (thanks @na-g) of whether the event would contain an `RTCStatsReport` object or an `RTCStats` object (sadly `object` in WebIDL). E.g. is it one event per object: ```js pc.onfinalstat = e => console.log(e.finalStat.kind == "track"); ``` or plural: ```js pc.onfinalstats = e => console.log([...e.finalStats.values()].some(s => s.kind == "track")); ``` I also filed https://github.com/w3c/webrtc-stats/issues/300 on some timing issues that came up to light while thinking about this. -- GitHub Notification of comment by jan-ivar Please view or discuss this issue at https://github.com/w3c/webrtc-stats/issues/235#issuecomment-358489011 using your GitHub account
Received on Wednesday, 17 January 2018 23:50:58 UTC