- From: Taylor Brandstetter via GitHub <sysbot+gh@w3.org>
- Date: Tue, 29 Aug 2017 23:16:55 +0000
- To: public-webrtc-logs@w3.org
> Each call returns a sequence of the same platform objects, whose readonly members are "live"? That's how I interpreted it. Otherwise why would they be interfaces and not just dictionaries? When we've talked about this API in virtual interims (for example, when discussing https://github.com/w3c/webrtc-pc/issues/1091), I mentioned this assumption and there wasn't any disagreement. What would you suggest adding to make this more clear? Maybe add something to the description of `getContributingSources` like: > Only one `RTCRtpContributingSource` object will be created for each CSRC identifier received by this `RTCRtpReceiver`. Subsequent calls to `getContributingSources` will return the same objects if the set of contributing sources has not changed. And/or we could add this somewhere: > Note that the `RTCRtpContributingSource` and `RTCRtpSynchronizationSource` objects will be updated regardless of whether `getContributingSources`/`getSynchronizationSources` is called again. Calls to `getContributingSources` and `getSynchronizationSources` are only needed to retrieve an updated list of objects, in case an additional CSRC or SSRC identifier has been seen since the last call. Just some ideas. -- GitHub Notification of comment by taylor-b Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1533#issuecomment-325831434 using your GitHub account
Received on Tuesday, 29 August 2017 23:16:51 UTC