Re: Constraints as a separate interface

On 10/16/13 4:46 PM, Martin Thomson wrote:
> On 16 October 2013 10:59, Jan-Ivar Bruaroey <jib@mozilla.com> wrote:
>> Unfortunately, MediaRecorder already inherits from EventTarget and webidl
>> doesn't allow multiple inheritance, so that one gets a little ugly.
> It does allow mixins using the "implements" keyword, which might suck,
> but could be used as a workaround.

So,

     MediaStreamTrack implements Constrainable;
     MediaRecorder implements Constrainable;

That's a lot nicer. :-)

TIL - Thanks!

.: Jan-Ivar :.

Received on Wednesday, 16 October 2013 21:02:07 UTC