Reputation: 383
Hey we're planning to make real time video calling service (Just like Hangouts provides and only in our college intranet ) which only uses browser but we're stuck at a point how should we transfer data to the other client directly without passing it from server ?
We were thinking to use applet but you can't create socket connection from applet code due to security restrictions of java.
Upvotes: 0
Views: 99
Reputation: 6906
You can use webrtc
this library simplifies the management of webrtc connections in js.
Upvotes: 2
Reputation: 33
Using a java applet probably is not the best choice for a number of reasons. The most important in my opinion is most modern browsers have stopped supporting the Netscape Plugin Application Programming Interface (NPAPI). Why not build a simple node app? Using something such as firehose, a simple pub/sub server. All your client side models would be in sync with the server, therefore making it easy to "transfer data" between clients. Firehose is also easy to set up and configure.
Upvotes: 2