Re: [Bug 24928] the spec defines the addtrack event as part of the MediaStream interface, but never calls out when the event should be fired.

On 03/07/2014 12:51 PM, Adam Bergkvist wrote:
> On 2014-03-07 10:59, Martin Thomson wrote:
>> On 7 March 2014 09:58, Adam Bergkvist <adam.bergkvist@ericsson.com> 
>> wrote:
>>> So you're proposing to simple add the track, ended or not?
>>
>> Yep.  Keeps things nice and simple.
>>
>
> Works for me.
>
I like that too. Not adding a track if it's ended would create a race 
condition in the case where some event causing the track to end happens 
at roughly the same time as the addTrack.

Race conditions are usually bad.

Received on Thursday, 13 March 2014 09:12:29 UTC