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 using Wireshark


WebRTC applications use networks very intensively. Thus sometimes you might need to debug not just the application, but also its communication with other components of the whole system.

In this section, we will cover the process of debugging WebRTC applications using network sniffer.

Network sniffer is a tool for capturing network packets. Usually, such tools can help you to analyze captured data. Using sniffer, you can see and understand how your application communicates with other points.

Getting ready

For our recipe, we will use Wireshark—which is a free and multiplatform network sniffer software. Download it from the home page at http://www.wireshark.org.

This tool is very user-friendly and works on most popular platforms, so you don't need any specific preparations.

You will also need some WebRTC application; you can use any simple hello world application for this purpose.

How to do it…

Start Wireshark. You will see a UI that might look confusing at the first time...