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

321
Views
How to detect whether the camera that is chosen by the user is real or not, within the web browser?

enter image description here

I need to detect whether the camera that is chosen by the user is real or not, in the web browser.

Using JavaScript I can get label and id of the camera but stream.getVideoTracks()[0].label is changeable by the user and stream.getVideoTracks()[0].id is not unique and it also changes session to session.

With a C# app, I think that I can detect that it is real or not by looking at the property PNPDeviceID. For a real camera it is a value like USB\VID... For a fake camera (in my case AlterCam) its value is ROOT\IMAGE\0000.

But in my case I need to detect it within the web browser. How can I achieve this?

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!