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

Working with a WebRTC statistics API


WebRTC's standard describes statistics API—a mechanism that an application can use for getting many kinds of statistical data. Using this mechanism can be helpful when debugging applications, because you can get access to some hidden data that is not visible to the application or to a customer in any other way.

Using this part of API you can better understand what is going on under the hood of the web browser and your application. It is very useful if you are a beginner and would like to know more on how all this works. It is also helpful if you're an experienced developer and are creating some advanced feature in the application.

Getting ready

For this recipe, we will not do much configuration work. We will not install any libraries or compile Linux software like we do in some other recipes. This recipe is dedicated to debugging and most of the topic is dedicated to client side. Therefore, most of the material is about JavaScript, the web browser and browser...