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

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Friday, 4 April 2014 07:59:11 UTC