Building my own signaling server for WebRTC

3,773 views
Skip to first unread message

Alex M

unread,
Apr 28, 2015, 4:31:55 AM4/28/15
to discuss...@googlegroups.com

I'm looking for a simple example or tutorial of how to build my own signaling server for WebRTC and connect to it as a client. At first I want to run it at localhost and connect to it from a browser and Android device to make sure it's working fine, later I'll move it to the Internet.

I've found a simple example, though, at https://github.com/shanet/WebRTC-Example, but it didn't work for some reason.

you...@gmail.com

unread,
Apr 28, 2015, 6:06:13 AM4/28/15
to discuss...@googlegroups.com

Iñaki Baz Castillo

unread,
Apr 28, 2015, 6:53:05 AM4/28/15
to discuss...@googlegroups.com
2015-04-28 10:31 GMT+02:00 Alex M <gilded...@gmail.com>:
> I'm looking for a simple example or tutorial of how to build my own
> signaling server for WebRTC and connect to it as a client. At first I want
> to run it at localhost and connect to it from a browser and Android device
> to make sure it's working fine, later I'll move it to the Internet.

Just make one or use any of the existing ones.


--
Iñaki Baz Castillo
<i...@aliax.net>

Alex M

unread,
Apr 28, 2015, 7:15:17 AM4/28/15
to discuss...@googlegroups.com
Thanks, that's what I need. 
But do you know if there's one built in pure Python, Ruby, Java or Javascript? Because that one uses Go lang.

Silvia Pfeiffer

unread,
Apr 28, 2015, 8:02:11 AM4/28/15
to discuss...@googlegroups.com

You could check out rtc.io .It comes with a JavaScript signaling server called rtc-switchboard.

Best Regards,
Silvia.

--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jeremy Noring

unread,
Apr 28, 2015, 11:29:01 AM4/28/15
to discuss...@googlegroups.com
On Tuesday, April 28, 2015 at 2:31:55 AM UTC-6, Alex M wrote:

I'm looking for a simple example or tutorial of how to build my own signaling server for WebRTC and connect to it as a client. At first I want to run it at localhost and connect to it from a browser and Android device to make sure it's working fine, later I'll move it to the Internet.

I've found a simple example, though, at https://github.com/shanet/WebRTC-Example, but it didn't work for some reason.


If I were going to write a signaling server, I'd probably do it in nodejs, using socket.io.   Licode (which is a full-blown MCU) has something similar to that, but if you just wanted to write a basic signaling server with no frills, that'd be an afternoon of work.

Alex Gouaillard

unread,
Apr 29, 2015, 9:38:27 PM4/29/15
to discuss...@googlegroups.com
The usual open source suspects, more or less all in JS in node with we socket transport:
- peerjs
- easyrtc
Those 3 have been around for a very long time, have a solid design, and a strong community. Nice place to start.

More advanced open source suspects (including much) maybe not where you want to start but it depends on your use case
- jitsi (Java/xmpp)
- meteecho (Java?)
- Janus (c)
- kurento (quite a mix, Java)
- licode/ lynckia (js)

There are much more of course.



Sent from my iPhone
--

Jean Deruelle

unread,
Apr 30, 2015, 9:59:40 AM4/30/15
to discuss...@googlegroups.com
You can use RestComm (https://github.com/Mobicents/RestComm), it comes with a WebRTC SDK for the Web and we are working on Mobile SDKs as well.
WebRTC Web SDK is Javascript and server side is built in Java. It uses SIP, SIP over WebSockets as signalling protocol.

BR
Jean

--

tatako

unread,
Jun 5, 2015, 8:47:23 AM6/5/15
to discuss...@googlegroups.com
How to build my own web server without using any third-party servers? A very simple signaling server, my own.
Reply all
Reply to author
Forward
0 new messages