Re: [Bug 22264] MediaStream.ended set to true on creation

On 2013-10-05 06:46, Harald Alvestrand wrote:
> On 10/03/2013 04:28 PM, bugzilla@jessica.w3.org wrote:
>> https://www.w3.org/Bugs/Public/show_bug.cgi?id=22264
>>
>> Adam Bergkvist <adam.bergkvist@ericsson.com> changed:
>>
>>             What    |Removed                     |Added
>> ----------------------------------------------------------------------------
>>                   CC|                            |adam.bergkvist@ericsson.com
>>
>> --- Comment #2 from Adam Bergkvist <adam.bergkvist@ericsson.com> ---
>> With the change from ended to inactive (for MediaStream) I replaced the text in
>> the ended (now inactive) attribute description that dictated the behavior for
>> the constructor with a more general text:
>>
>> "When a MediaStream object is created, its inactive attribute MUST be set to
>> false, unless stated otherwise (for example by the MediaStream() constructor
>> algorithm)."
>>
>> I've added text in the constructor algorithm to initialize the inactive
>> attribute accordingly. Currently the constructor disregards from ended tracks
>> used as input, but that's perhaps a separate discussion.
>>
>> Proposed change:
>> https://github.com/fluffy/webrtc-w3c/commit/9ff8a5d160e3319825652ed8d135df6921817dd6
>>
> If we're changing the name of the concept anyway, perhaps we should
> change it to "active"?
>
> Names with negation in them always make me feel negative.

I think that makes sense. The concept of an "active" stream is already 
used in the spec to talk about a stream that is not inactive, so it 
would be a small edit.

/Adam

Received on Monday, 7 October 2013 07:39:35 UTC