Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying WebRTC Blueprints
  • Table Of Contents Toc
  • Feedback & Rating feedback
WebRTC Blueprints

WebRTC Blueprints

By : Andrii Sergiienko
4.2 (9)
close
close
WebRTC Blueprints

WebRTC Blueprints

4.2 (9)
By: Andrii Sergiienko

Overview of this book

Table of Contents (13 chapters)
close
close
WebRTC Blueprints
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Deploying the TURN server


In Chapter 1, Developing a WebRTC Application, we discussed how to install, configure, and deploy a simple STUN server for our needs. Here, we will deal with the TURN server, which can also act as a STUN server. So, you don't need to have both the servers (but you can); you can configure just one and it will work either as a STUN or TURN server.

There are several TURN server implementations on the Internet, and you can take what you like the most, but I'd recommend that you consider the rfc5766-turn-server project for use in production systems.

You can download the source codes from https://code.google.com/p/rfc5766-turn-server/.

You need to install additional packages before compiling the server, in particular, mysqlclient-dev, libevent, libmysqlclient-dev, libevent-dev, and libssl-dev. Kindly note that the package list may vary for different Linux distributions.

Unpack the source code into a folder and run the following command line:

./configure

This will prepare...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY