Search code examples
htmlcamerawebkitqtwebkitgetusermedia

What APIs are available to access a camera in HTML5


I am looking for APIs for accessing a camera on a device using HTML. I am aware of getUserMedia(), but that appears to only be supported by the Blink and Gecko engines. Is there anything else out there? I am specifically looking for something that WebKit/QtWebKit supports.


Solution

  • Updated 2015-09-23: I’ve been told be a WebKit browser engineer that WebKit doesn’t support getUserMedia—not even prefixed as navigator.webkitGetUserMedia. I’m not sure if it did at one point and the support was removed, or what.

    So I think the answer as far as being able to get something working with Safari is, It's not possible.

    As far as recent changes in support in other browsers, though, it seems that unprefixed navigator.getUserMedia() is now supported in Edge.