W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > September 2017

Re: [webrtc-stats] Added Guidelines for getStats() results caching

From: jan-ivar via GitHub <sysbot+gh@w3.org>
Date: Wed, 20 Sep 2017 13:19:07 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-330848530-1505913536-sysbot+gh@w3.org>
@vr000m I can't find anything in the spec that prevents implementations from optimizing by returning the same data as a previous call, so aren't we fine there?

I agree the `timestamp` should not increment in those cases. We could add text to [timestamp](http://w3c.github.io/webrtc-pc/#dom-rtcstats-timestamp) to clarify this. That would make timestamps for local stats more consistent with timestamps for remote stats, where we already clarify. Maybe something like *"For local stats, the timestamp should reflect the most recentness of the data set from this object"* ?

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/webrtc-stats/pull/243#issuecomment-330848530 using your GitHub account
Received on Wednesday, 20 September 2017 13:19:01 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 4 June 2019 15:32:45 UTC