Multiple STUN servers possible?

290 views
Skip to first unread message

peter....@googlemail.com

unread,
Jul 20, 2018, 12:36:43 AM7/20/18
to meetecho-janus
Hi,

is it possible to use multiple STUN servers in the janus config? I know it works for TURN when providing a list via HTTP but how to use multiple STUN servers?

Currently the STUN server provides a single point of failure as Janus terminates in case it is not reachable. I would like to be able to provide a second one as backup.

Peter

Geige

unread,
Jul 20, 2018, 2:32:05 AM7/20/18
to meetecho-janus

I'm not sure about a list, but if that's not possible you could run a group of stuns behind a network load balancer. Then just add the dns entry for the load balancer.

Lorenzo Miniero

unread,
Jul 20, 2018, 9:29:36 AM7/20/18
to meetecho-janus
libnice only supports specifying a single STUN server, so no. You'll have to do some DNS-based load balancing yourself, as Geige suggested.

L.

peter....@googlemail.com

unread,
Jul 22, 2018, 6:18:15 AM7/22/18
to meetecho-janus
Thanks!
ok, so it's a libnice limitation. Will look into load balancing my STUN servers.
Reply all
Reply to author
Forward
0 new messages