W3C home > Mailing lists > Public > public-media-capture@w3.org > April 2013

IDL/API feedback

From: Anne van Kesteren <annevk@annevk.nl>
Date: Sun, 7 Apr 2013 11:57:06 +0100
Message-ID: <CADnb78gutLfnoL8Ar6F+-CR2oR4nR3AfCpLdv3B0i8AhCM-v9Q@mail.gmail.com>
To: "public-media-capture@w3.org" <public-media-capture@w3.org>
1) MediaStreamTrack needs to inherit from EventTarget.

2) The addtrack and removetrack events are not defined. In particular,
when they are dispatched.

3) The constructor for MediaStream should probably a sequence of
MediaStreamTrack, not an IDL array.

4) "Constructor ()" should just be "Constructor", but maybe better
would be to make the single argument optional and use "or" to
distinguish the two types.

Received on Sunday, 7 April 2013 10:57:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:16 UTC