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

Re: [webrtc-pc] Fields in RTCStats dictionary should be required

From: Taylor Brandstetter via GitHub <sysbot+gh@w3.org>
Date: Fri, 14 Jul 2017 22:06:57 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-315479457-1500070015-sysbot+gh@w3.org>
It can be used to construct an `RTCSessionDescription` (which is possible for backwards compatibility) so that's possibly why.

Anyway, the point I was trying to make above is that if we don't have any normative requirement that says "`timestamp` MUST be present in returned `RTCStats` objects", then making it `required` is a way to implicitly add that requirement, and make it easy to find. Though maybe this is frowned upon and we should ask a WebIDL expert for advice.

GitHub Notification of comment by taylor-b
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1476#issuecomment-315479457 using your GitHub account
Received on Friday, 14 July 2017 22:07:03 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:21:40 UTC