Re: MediaStream Constructor

On 5/9/2012 9:00 PM, Randell Jesup wrote:
> On 5/9/2012 11:20 PM, Anant Narayanan wrote:
>> I haven't mentioned MediaStreamTrackLists though, because I think they
>> are a redundant type that may simply be represented as an array of
>> MediaStreamTracks. If there are good reasons to keep the
>> MediaStreamTrackList around, please do let me know. Otherwise, we can
>> modify the MediaStream object to be:
>
> Well, in theory the arrays of local and remote streams are 'live'
> arrays, and it also was said on the list that they don't compact when
> one is removed (to make them easy to match up with SDP m= lines) -
> though I have to say that MediaStreams don't map well to m= lines if a
> MediaStream as < or > 1 stream of a given type...

We could retain this behavior even with just a simple array type instead 
of a special object, right?

> We need to have a clear mapping of MediaStreams, MediaStreamTracks, and
> SDP m= lines including for complex cases with tracks and streams being
> added and removed.

Agreed!

-Anant

Received on Thursday, 10 May 2012 05:07:38 UTC