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

jan-ivar has just created a new issue for https://github.com/w3c/webrtc-pc:

== Clarify whether RTCRtpContributingSource members are live. ==
@taylor-b Even with [recent clarifications](https://github.com/w3c/webrtc-pc/pull/1149), I still find two ways of reading [getContributingSources()](http://w3c.github.io/webrtc-pc/#dom-rtcrtpreceiver-getcontributingsources). Even though it returns a [sequence](https://heycam.github.io/webidl/#idl-sequence) of platform object values, and the sequence itself is passed by value, it's not clear whether the objects in the sequence are the same each time or new ones.

Basically, assuming no external changes for a couple of seconds, which is right:
 1. Each call returns a sequence of unique static snapshots of the most recent values at the time, or
 2. Each call returns a sequence of the same platform objects, whose readonly members are "live"?

Where "live" means "may change on the next event loop". What's the intent; can we make it clearer?

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1533 using your GitHub account

Received on Saturday, 12 August 2017 01:37:17 UTC