W3C home > Mailing lists > Public > public-media-capture@w3.org > May 2012

Re: MediaStream Constructor

From: Anant Narayanan <anant@mozilla.com>
Date: Wed, 09 May 2012 22:07:08 -0700
Message-ID: <4FAB4CFC.2060800@mozilla.com>
To: public-media-capture@w3.org
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:14:59 GMT