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

Introduction


Debugging is a very important aspect in developing a computer software. Even if you are an experienced developer and write very clean and professional code, you might face some situations when the only good way to understand what's going wrong is debugging and profiling.

In this chapter, we will cover debugging within the scope of developing WebRTC applications. We will talk about specific useful tools built in Chrome web browser, which can be helpful. Also, we will cover basic questions of debugging JavaScript applications in the scope of the main topic. Of course, we will cover the server side as well.

WebRTC has a very useful API known as statistics API; it can be used for monitoring and debugging WebRTC applications. We will cover this topic in the appropriate recipe, considering real-world use cases and practical possible solutions.

A WebRTC application usually works very intensively with network. Therefore, we will learn how to use Wireshark (a network sniffer) for debugging...