We want to build an web based application, The details are:
We have to create web based Java application, where the server
is able to access the clients PC's port, like say, If we want to show
his/her webcam to other people, we need to access his webcam, drivers.
So once he's is logged in to our web application, I want to show the video to
other logged person, using his web cam.
So in short, can I access a user/clients machine port/driver/adapter from my web server?
So, you can say that, its an web based chatting application , where users can see each other using his/her web cam .
In general, no, you can't do this. Many if not most clients are going to be behind a firewall or NAT box, anyway, right? The general solution: you have to turn the problem around, and put some software on the client that connects back to the server.
Ernest Friedman-Hill wrote: The general solution: you have to turn the problem around, and put some software on the client that connects back to the server.
After much thought and as per your suggestion, we are ready to develop a desktop Swing application. which our client downloads with JRE and all the required drivers. Then its able to get the data from clients PCs USB port and send to central DB server which is on internet ..