Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WebRTC Java Server? [closed]

Is there a way to make a simple Java server be able to connect with a WebRTC browser page?

I'm asking because I have a Java server that talks to a Websocket browser page and it'd sure be nice to have it capable of making a second WebRTC connection for fast and unreliable data transfers.

I'm having a hard time finding WebRTC Java server code.

Edit: It appears the status of this question is applied to the ones who applied it. As they apparently have minimal knowledge of my question.

like image 399
user2030360 Avatar asked Nov 14 '13 05:11

user2030360


1 Answers

It is possible. There is a couple of examples in the webrtc source code base (https://code.google.com/p/webrtc/). Look under talk/examples.

However unreliable data channels are currently being deprecated and swapped for reliable ones. Google Chrome will probably drop unreliable (UDP based) data channels altogether in the near feature and support only reliable (SCTP based). More to the point unreliable data channels are currently bandwidth limited (about 30Kbits/s). I don't know what you are doing but I am pretty sure that websockets (TCP based) are fast enough and using WebRTC will just be a huge time investment for little to none benefit.

like image 61
Svetlin Mladenov Avatar answered Oct 07 '22 18:10

Svetlin Mladenov