Does Janus need stun or turn server?

745 views
Skip to first unread message

Justin Patel

unread,
Nov 22, 2014, 7:33:57 AM11/22/14
to meetech...@googlegroups.com
Hello Guys,

I am new here, I have read docs about webrtc and find out it will need stun or turn to make communication. I have not read such terms on Janus  or document, I am bit confused how does Janus  works..

Does Janus  need those server or they have it built in?

Lorenzo Miniero

unread,
Nov 22, 2014, 7:40:21 AM11/22/14
to meetech...@googlegroups.com
STUN and TURN servers are a different thing, you need to either refer to existing ones or deploy some yourselves. There are several STUN servers available for free so no issue there, TURN servers instead are a different beast as they have to relay media and so often are not cheap. There are good open source implementations for this, though, so if you've got servers and bandwidth you can deploy them on your own.

In general, you only need a STUN server, while TURN becomes important if you have users that are behind restrictive network components or firewalls that may prevent a successfull communication otherwise. If you're not familiar with what either STUN or TURN do I recommend reading a bit around about them, there are several good tutorials that explain this.

Lorenzo

Justin Patel

unread,
Nov 22, 2014, 7:46:42 AM11/22/14
to meetech...@googlegroups.com
Woow.. I am happy with fast reply...

Actually I am creating webinar system, where few person will be directly connect to server, then recorder will do mixing and writing and that video will be given to attendees via rtmp.

Do i need turn and stun servers ?

Lorenzo Miniero

unread,
Nov 22, 2014, 8:44:43 AM11/22/14
to meetech...@googlegroups.com
Again, it's not really an application specific thing, but a question of whether your users will need a relay or not. For now just use the STUN server and then start considering TURN if some users can't connect.
Reply all
Reply to author
Forward
0 new messages