Re: Bug 26243: where should getUserMedia attach

2014-07-07 15:46 GMT+02:00 Iñaki Baz Castillo <ibc@aliax.net>:
> 2014-07-07 14:31 GMT+02:00 Stefan Håkansson LK
> <stefan.lk.hakansson@ericsson.com>:
>> But there has also been the comment that this is behind vendor prefix
>
> The problem are vendor prefixes, which means that within next 8 years
> there will still be JS code checking for webkitFoo, mozFoo,
> blinkFoo...
>
> There is no advantage at all in adding vendor prefixes, no idea why
> they still do that.

I'm sorry for complaining about vendor prefixes in this thread, please
ignore me.

Regarding the original question, I strongly like "namespaces" (so may
vote for navigator.mediaDevices.getUserMedia) but the fact is that
JavaScript APIs do not usually use namespaces (for example, there is
no a WebRTC namespace but, instead, we have top level classes like
RTCPeerConnection, RTCIceCandidate and so on). I feel that
navigator.getUserMedia is good enough.


-- 
Iñaki Baz Castillo
<ibc@aliax.net>

Received on Monday, 7 July 2014 15:03:53 UTC