[Bug 12530] <video> Make TrackList an Array-like list of Track objects and move get* into those

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12530

Ian 'Hixie' Hickson <ian@hixie.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #12 from Ian 'Hixie' Hickson <ian@hixie.ch> 2011-06-30 23:52:15 UTC ---
(In reply to comment #10)
> I still would like to be able to create MediaStream objects from individual
> tracks. One use case that this would enable is taking the audio track from a
> stream that is being received from a remote peer and combining it with the
> audio track from a local stream so that MediaStreamRecorder can be used to
> record the conversation to a single blob (as opposed to recording the remote
> peer audio to one blob and the local audio to another blob).

I haven't added this yet, but I agree that we should add it in due course. I've
put in some plumbing to make adding this easy. (I just figured we should pace
ourselves.) You wouldn't do it by adding separate tracks, you'd just do  new
MediaStream([localStream, remoteStream])  and then disable any non-audio
tracks.


(In reply to comment #9)
> Of course, an alternative way of solving this problem of inconsistency between
> textTracks and audioTracks/videoTracks would be to turn the textTracks list
> into a TextTrackList object.

I don't see why this is a problem or why it needs solving.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 30 June 2011 23:52:17 UTC