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

Re: [webrtc-stats] RTCMediaStreamTrackStats is four dictionaries in one

From: jan-ivar via GitHub <sysbot+gh@w3.org>
Date: Tue, 12 Sep 2017 12:28:04 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-328837271-1505219275-sysbot+gh@w3.org>
@henbos I'm not proposing replacing `kind` with a unique type. Dictionaries don't have JS-observable types, so refactoring into 4 dictionaries alone is purely editorial, for a more readable spec.

If we don't go for https://github.com/w3c/webrtc-stats/issues/231 then I'm not proposing removing `remoteSource` either.

If we *do* go for https://github.com/w3c/webrtc-stats/issues/231 then `remoteSource` disappears naturally (`remoteSource` == `"receiver"`).

I'm hoping we do the latter, since I find it intuitive. That's why I left `remoteSource` out in the examples.

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/webrtc-stats/issues/230#issuecomment-328837271 using your GitHub account
Received on Tuesday, 12 September 2017 12:27:59 UTC

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