Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

651
Views
DOMException: Could not start video source | only in Chrome

I am trying to get a video from my webcam. My code is working in Firefox and Microsoft Edge perfectly but not working in Chrome. I also host my code on an HTTPS server but didn't work.

My Code:

<html>
<body>
    <script>
        navigator.mediaDevices.getUserMedia({video: true})
        .then( stream => console.log("success") )
        .catch( err => console.log(err, err.name) );
    </script>
</body>
</html>

After running this code on Google Chrome browser, I am getting this error in the console:

DOMException: Could not start video source 'NotReadableError'

Chrome Version: 100.0.4896.127 (Official Build) (64-bit) on Windows 11.

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

this error appears if the camera is already in use by another browser or application

about 4 years ago · Juan Pablo Isaza Report

0

Check the size of the output video you are defining. If the camera doesn't support the resolution, it gives that error. Try a lower one, like 320x320.

about 4 years ago · Alex Urtubia Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!