mafintosh / signalhub

Simple signalling server that can be used to coordinate handshaking with webrtc or other fun stuff.
MIT License
667 stars 97 forks source link

support multiple signalhubs #1

Closed max-mapper closed 9 years ago

max-mapper commented 9 years ago

would be cool if you could do signalhub([a, b, c, d]) and this handled using multiple simultaneous hubs

max-mapper commented 9 years ago

i now run https://signalhub.publicbits.org/

mafintosh commented 9 years ago

4.0.0 now supports passing in an array of hub hosts

var hub = signalhub('my-app-name', [
  'https://hub1.example.com',
  'https://hub2.example.com'
])
ungoldman commented 9 years ago

:+1: kewl

mafintosh commented 9 years ago

Friends uses this now, https://github.com/moose-team/friends/commit/eb87d67deb518e12704b43678b28ed9f9aaa1bc7