concept HTML5 Media Capture API in category electron
appears as: HTML5 Media Capture API, The HTML5 Media Capture API

This is an excerpt from Manning's book Cross-Platform Desktop Applications: Using Node, Electron, and NW.js.
But that changed. With the introduction of the HTML5 Media Capture API, webcams could be accessible to web pages (with good security procedures in place), and it is this capability that we’ll explore in this chapter. We’ll look at ways to access and use these APIs to build a photo booth app.
When using Electron or NW.js to build your desktop app, you get the benefit of Google Chrome’s extensive support for HTML5 APIs, one of which is the Media Capture API. The HTML5 Media Capture API allows you to access the microphone and video camera that are embedded in your computer, and the app you’ll build will make use of this.