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

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

From: <bugzilla@jessica.w3.org>
Date: Fri, 04 Apr 2014 07:59:10 +0000
To: public-media-capture@w3.org
Message-ID: <bug-25250-5753-Ub7vObDcKr@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:26 UTC