Answer the question
In order to leave comments, you need to log in
Why doesn't getUserMedia work in chrome?
Why doesn't this code work in Google Chrome browser?
navigator.mediaDevices.getUserMedia({ video: true })
.then((stream) => {
stream.getTracks().forEach((track) => track.stop());
this.loadCameras();
})
.catch((error) => console.log(error));
DOMException: Could not start video source
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question