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

159
Views
Chrome mediaDevices.enumerateDevices() does not list default videoinput first

I have multiple cameras installed on my Mac. I can check the default camera for Chrome in the settings (chrome://settings/content/camera?search=camera).

Now, when I list all devices, my chrome "default" camera is the last one. I check it this way (even in Chrome console):

navigator.mediaDevices.enumerateDevices()
   .then(devices => {
        console.log(devices.filter(d => d.kind==="videoinput"))
   })

However, MDN states that

The order is significant - the default capture devices will be listed first.

And this is where I'm confused. Am I doing something wrong? Is there any way to retrieve "default browser" videoinput (aka camera)?

Thanks

about 4 years ago · Juan Pablo Isaza
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!