train-faces icon indicating copy to clipboard operation
train-faces copied to clipboard

The Webcam cannot capture picture

Open buhongw7583c opened this issue 6 years ago • 1 comments

Dear Hao, I found the API you created is really easy to use. I got an issue recently when trying to capture picture from the webcamera. I am very sure the API has the permission to use my camera but it just does not work. Please see the picture below.

The problem happens using the webAPI or my local API, both on my surface and Mac book.

Have you encountered the issue before or is there any special configurations that i should do to enable the camera working? Really appreciate your wonderful work.

image

buhongw7583c avatar Dec 31 '18 02:12 buhongw7583c

hi @buhongw7583c i'm really sorry for the impossibly late response.. but I believe browsers have stopped supporting webcams on HTTP hosts.. For the camera to show up on localhost, you'd need to serve through HTTPS

howlowck avatar Aug 19 '19 16:08 howlowck