Book Image

WebRTC Cookbook

By : Andrii Sergiienko
Book Image

WebRTC Cookbook

By: Andrii Sergiienko

Overview of this book

Table of Contents (15 chapters)
WebRTC Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Debugging TURN


As you probably know, your application will definitely use STUN if you want it to work in the real world. Using STUN will be enough for most cases, although you will have to use TURN in many situations—especially when working with enterprise customers, because they usually have very strict network firewall policies and complex network configurations. Using TURN can be the only available solution for customers located in some places, for example, some countries might have specific network access limitations that cause issues for network applications that are WebRTC-based.

So in this recipe, we will cover how to debug TURN.

Getting ready

For this recipe, you need to have your own TURN server installed and running. When you use a TURN server as a third-party service, you can debug only client side. However, if you use your own TURN server, you have access to it and can do more in the scope of debugging. So in this recipe, we will consider debugging a TURN server that you have direct...