i have 2 questions
1 - Anybody has any tutorial on developing simple chat page using WebRTC without using Node.js / Peer.js ?
or we have no way other than using node.js?
(btw, for signaling, I want to use my own server using websocket)
2 - i want to set up my own stun server for webrtc without using google's. is it possible?
Here is example of another solution: http://www.webrtcexample.com/
Here is source code of it (signalling server is written in Erlang and very simple): https://github.com/fycth/webrtcexample
Have to note that I'm author of this example.
Moreover, it would be event better to use your own STUN/TURN server rather than use public one.
Here you can find open source STUN server that works under Linux either Windows: http://www.stunprotocol.org/
It is also very simple in configuration.
disclaimer: I work at Pusher.
If you don't want to go through the hassle of setting up your own signaling server, you can use Pusher to handle that for you. It use websockets which avery good option these day since most of the browsers support it. Plus it has fallbacks mechanism just in case.
We wrote a webRTC signaling tutorial if you are interested in learning more, it shouldn't take you more than 5 minutes.
http://pusher.com/tutorials/webrtc_chat
Node.js is only used to build websocket server, if you check webrtc.io, the client javascript is not related to Node.js;
Sure!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With