W3C home > Mailing lists > Public > public-media-capture@w3.org > April 2013

Re: IDL/API feedback

From: Adam Bergkvist <adam.bergkvist@ericsson.com>
Date: Mon, 8 Apr 2013 11:23:20 +0200
Message-ID: <51628C88.6090707@ericsson.com>
To: Anne van Kesteren <annevk@annevk.nl>
CC: "public-media-capture@w3.org" <public-media-capture@w3.org>
On 2013-04-08 11:14, Anne van Kesteren wrote:
> On Mon, Apr 8, 2013 at 9:59 AM, Adam Bergkvist
> <adam.bergkvist@ericsson.com> wrote:
>> I did add some text to the "addtrack" and "removetrack" tables in the "Event
>> summary" section about this, as a result of some previous feedback [1]. Will
>> that do it?
>>
>> [1] https://bugs.webkit.org/show_bug.cgi?id=111079
>
> Not really. I read that and then I wondered why e.g. addTrack(), which
> adds a MediaStreamTrack to the stream, does not fire it. You could add
> a note to the addTrack()/... algorithms, or say they can only be
> dispatched as result of operations defined in WebRTC (and not by
> addTrack()/...).

Just to make sure we're talking about the same version here. The are 
changes in the github version that are not in the published document yet.

The published editor's draft says (in the Fired when... column):

"A new MediaStreamTrack has been added to this stream."

The version on github says:

"A new MediaStreamTrack has been added to this stream. Note that this 
event is not fired when the script directly modifies the tracks of a 
MediaStream."

/Adam
Received on Monday, 8 April 2013 09:23:53 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:24:40 UTC