Re: Why does media capture require a browser?

I've been asking the same question.

Why can't I use the same API to set up a webcam using Raspberry Pi and and
Node.js?

Having an API that does not depend on the DOM/Browser makes it possible to
implement that API on multiple platforms such as in the browser and in
Node.js.

Frameworks written for such an API could be used on all platforms.

As it is right now we have different APIs for capturing and processing
media.

( https://github.com/wearefractal/camera library for media capture on
node.js)

Johannes Odland

Den 15. feb. 2013 kl. 16:18 skrev Jonathan Chetwynd <jay@peepo.com>:

Why does media capture require a browser?
rather than solely a javascript engine**.

eg why navigator.getUserMedia?*

regards

Jonathan Chetwynd

**embedded devices may only be capable of running a JS engine, with say
camera,
but not a browser as well.
There are of course a very large range of data capture devices beyond A/V.

*for example nodeJS using V8 has no navigator object.


-- 
Jonathan Chetwynd
http://www.gnote.org
Eyetracking in HTML5

Received on Friday, 15 February 2013 15:53:39 UTC