DEV Community

Discussion on: Understanding Web Real-Time Communication

Collapse
 
omancoding profile image
OmanCoding

Hi Anto,

Does building a STUN server should be easy?

How to build a simple TURN server?

I am interested to see the role of 'servers' vs the role of the 'clients'

Collapse
 
anto_christo profile image
Anto Christopher

Hi,
I'm not sure how easy or difficult it is to build a STUN or TURN server from scratch on our own since I haven't tried it.

For my previous WebRTC project, I used an open source TURN/STUN implementation called COTURN and hosted it on a DigitalOcean instance.
Also, there are multiple publicly available STUN servers that you can use.

For reference:

github.com/coturn/coturn

tinyurl.com/y3345yop (All STUN servers in this list may not be live)

Collapse
 
omancoding profile image
OmanCoding

Thanks,
The task of STUN seems simple, which is telling you your IP, this is why I asked about the complexity of building one.