Re: MediaStreamTrack behaviuor

On 07/04/2012 05:35 AM, Tommy Widenflycht (ᛏᚮᛘᛘᚤ) wrote:
> I am a bit confused regarding the latest draft regarding how
> MediaStreamTracks should behave when they are part of more than one
> MediaStream.
>
> It used to be that when a MediaStream was created with a list of Tracks
> one created new tracks that had the same underlying data source as the
> input tracks. Basically one cloned the tracks.

This is my understanding as well, if an existing track is added to a new 
MediaStream it should be duplicated even if the source is the same.

> Now the draft says that the new MediaStream should add the same Tracks
> to its lists. That means that the same Track can now belong to more than
> one MediaStream. This has an unfortunate effect that if one disables a
> Track, the Track gets disabled in all MediaStreams. It is no longer
> possible to have independent enabled stated, and for example this basic
> use case is impossible:

Which part of the spec are you inferring this from in particular? We 
should update the text to be clearer.

Thanks,
-Anant

Received on Thursday, 5 July 2012 04:13:05 UTC