Setting Up Your Own STUN/TURN Server

With your deployed app now working as expected, let’s turn to one more task (pun intended): installing and configuring Coturn to power your own STUN/TURN server.[111] Coturn is the most prominent open-source STUN/TURN server, being descended from the TURN server project that accompanied the TURN specification, RFC 5766.[112] Adventurous readers might also want to have a look at the newer eturnal project,[113] but we’ll stick with the tried-and-true Coturn project here.

Coturn packages are available for Debian[114] and Arch Linux.[115] The Coturn install guide will walk you through compiling Coturn for other distributions.[116]

On systems like Debian, Coturn’s installation is no different from any other package. ...

Get Programming WebRTC now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.