I want to create an application for P2P video transmission. In more details, I need the following:
- User can switch on a web camera by clicking a button in an application.
- Application starts to take images from the web camera and sends them to a certain location (given by a port and IP address).
- Application starts to accept images send by another application and display them (images) in a window.
There is also one more thing. I would prefer to have everything in a browser. I know that everything can be done with Flash Player from Adobe (an example is http://chatroulette.com/).
But I would like to know if the same can be done with JavaScripts.
I am sure it the application can be written in Java. But can I use Java to have everything in a Browser.