HTML Media Capture API vs. getUserMedia()
问题 currently, I'm trying to do some really simple thing (well, actually I thought it is simple...): I want to take a photo from the web-cam in a web-application . I stumbled over two possibilities: 1. The HTML Media Capture API which looks really easy: <input type="file" accept="image/*" capture="camera"> 2. JavaScript media streams, which also look pretty easy: navigator.getUserMedia() And here comes my question: The HTML Media Capture API is not working in desktop browsers and the JavaScript