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

Re: The MediaStream constructor

From: ᛏᚮᛘᛘᚤ <tommyw@google.com>
Date: Wed, 26 Sep 2012 11:18:00 +0200
Message-ID: <CALLKCfM7tiosKMMTPLFYu_M5KPRzUPimfAagBkLyDZzysb5j9A@mail.gmail.com>
To: Anant Narayanan <anant@mozilla.com>
Cc: public-media-capture@w3.org
On Tue, Sep 25, 2012 at 5:16 PM, Anant Narayanan <anant@mozilla.com> wrote:

> On 9/24/2012 11:36 AM, Tommy Widenflycht (ᛏᚮᛘᛘᚤ) wrote:
>
>> Well, a MediaStreamTrackList is fine as well :)
>>
>> The difficult to implement thingie is the "union of MediaStream,
>> MediaStreamTrackList and MediaStreamTracks".
>>
>
> It is either MediaStream or MediaStreamTrackList. It should not be
> possible to create  a new MediaStream using only MediaStreamTracks (without
> first wrapping them in a list).
>
>
<snip>
The MediaStream() constructor takes zero or one argument. If the argument,
trackContainers, is supplied, it specifies a list of
MediaStream<http://dev.w3.org/2011/webrtc/editor/getusermedia.html#idl-def-MediaStream>
,MediaStreamTrackList<http://dev.w3.org/2011/webrtc/editor/getusermedia.html#idl-def-MediaStreamTrackList>
 and MediaStreamTrack<http://dev.w3.org/2011/webrtc/editor/getusermedia.html#idl-def-MediaStreamTrack>
 objects.
</snip>
Received on Wednesday, 26 September 2012 09:18:28 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:01 GMT