How can I capture an image via the user's webcam using getUserMedia?

后端 未结 3 2006
北荒
北荒 2020-12-05 11:45

I want to make a program on the web which will capture an image via the user\'s webcam.

I am using the getUserMedia Web API. Here is my code, but it do

3条回答
  •  粉色の甜心
    2020-12-05 12:12

    getUserMedia is not supported by IE11, take a look on this link: https://caniuse.com/#search=getuserMedia

    So if you are still wanted to use the core property of getUserMedia then you need to use polyfill. Take a look on this polyfilllink: https://github.com/addyosmani/getUserMedia.js

提交回复
热议问题