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

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

From: jan-ivar via GitHub <sysbot+gh@w3.org>
Date: Sat, 12 Aug 2017 01:37:16 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-249780255-1502501834-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:51 UTC