Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

326
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda