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

Re: [webrtc-pc] Clarify whether RTCRtpContributingSource members are live.

From: Harald Alvestrand via GitHub <sysbot+gh@w3.org>
Date: Thu, 26 Oct 2017 05:07:51 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-339552677-1508994470-sysbot+gh@w3.org>
Live objects make people's heads hurt - apps trying to do "what's changed" will have totally different results depending on whether they store the objects or the values from the objects.

I don't see (at the moment) a compelling reason not to change them to dictionaries (with "required" on the members), just to make the point clear that they're copied data. I think the choice of interface vs dictionary was not very thought-through; we seem to have flipped back and forth over which was preferred a number of times.

-- 
GitHub Notification of comment by alvestrand
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1533#issuecomment-339552677 using your GitHub account
Received on Thursday, 26 October 2017 05:07:55 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 9 October 2019 15:14:56 UTC