Re: [Bug 25250] Ended track should not be added to MediaStream, when addTrack() is invoked for and ended track.

Ah,

missed that this step is still in the constructor algorithm. Should be 
fixed there as well (as for addTrack), that is right! Still assigned to 
Adam.

Stefan

On 2014-04-04 09:59, bugzilla@jessica.w3.org wrote:
> https://www.w3.org/Bugs/Public/show_bug.cgi?id=25250
>
> Kiran <kiran.guduru@samsung.com> changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>               Status|RESOLVED                    |REOPENED
>           Resolution|FIXED                       |---
>
> --- Comment #4 from Kiran <kiran.guduru@samsung.com> ---
> addTrack() is upto mark but
> Step 2 in MediaStream constructor(4.2 MediaStream)[1], which is specifying not
> to add ended track, is still present as shown below.
>
> Run the following sub steps for each MediaStreamTrack in the array:
>
> 1. Add track: Let track be the MediaStreamTrack about to be processed.
>
> 2. If track has ended, then abort these steps and continue with the next track
> (if any).
>
> 3. Add track to stream's track set.
>
> Which is required to be removed (As per comment 2).
>
> The new steps should be as follows (removing step 2).
> 1. Add track: Let track be the MediaStreamTrack about to be processed.
>
> 2. Add track to stream's track set.
>
> [1] http://dev.w3.org/2011/webrtc/editor/getusermedia.html#mediastream
>


Received on Friday, 4 April 2014 08:56:45 UTC