Re: The MediaStream constructor

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 UTC