Need help detecting web site visitor's hardware configuration

They have: 4 posts

Joined: Oct 2005

Hi

Is it possible using JavaScript and/or PHP or any other language, whether a user of my web site has a webcam attached to his PC and whether they have audio output device (speakers, head phones etc) and audio input device for example mike

Any help or guidance on this matter would be highly appreciated.

Thanks for your help

JV

pr0gr4mm3r's picture

He has: 1,502 posts

Joined: Sep 2006

I'm pretty sure PHP or any other server-side script won't be able to help you.

The only site that tried to detect my hardware wanted me to download an ActiveX control or separate program altogether, but then you run into problems with compatibility.

He has: 1,380 posts

Joined: Feb 2002

I'm not sure, but you could try visiting the manufacturer's website and see if they have any documentation on it.

Also, you could Google for things like 'embedded webcam' or similar, and possibly come up with some forum suggestions, blog posts, or maybe even articles.

Your best bet is to try and find a source that is dedicated to it...ideally a forum centered around embedded video camera content in a web page. From there you could learn how to find the camera, etc.

My guess, though, is that it's going to require a special medium. That being said, I do know that Flash supports webcam interfacing, so check the Flash docs.

pr0gr4mm3r's picture

He has: 1,502 posts

Joined: Sep 2006

I'll bet a Java Applet could work as well.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.