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 with Chrome


Chrome is a web browser developed by Google—the company that invests in WebRTC development very intensively. Chrome usually has the most advanced support of WebRTC features than other browsers, and new and experimental features usually appear first in Chrome.

Thus, it is not surprising that Chrome has good tools for debugging the WebRTC stack. Some of the relevant details will be covered in this recipe.

Getting ready

For this recipe, you will need Chrome installed. It is a multiplatform, so you can download the relevant installation pack from its home page at https://www.google.com/chrome/browser/.

How to do it…

There are two known Chrome mechanisms that can be useful for debugging WebRTC applications:

  • WebRTC-internals

  • Logging

In most cases, you probably will use the first one.

Using webrtc-internals

WebRTC-internals is a built-in mechanism in Chrome with the use of which you can get access to a variety of WebRTC stack-related information and statistics data.

Open a Chrome web...