Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
WebRTC Blueprints

You're reading from   WebRTC Blueprints Develop your very own media applications and services using WebRTC

Arrow left icon
Product type Paperback
Published in May 2014
Publisher
ISBN-13 9781783983100
Length 176 pages
Edition Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Andrii Sergiienko Andrii Sergiienko
Author Profile Icon Andrii Sergiienko
Andrii Sergiienko
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

WebRTC Blueprints
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
1. Developing a WebRTC Application FREE CHAPTER 2. Using the WebRTC Data API 3. The Media Streaming and Screen Casting Services 4. Security and Authentication 5. Mobile Platforms 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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime