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

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