Debugging anRTC could be a nightmare if you do not know the right tools. In this article, we discuss some of the readily available tools that can be used to debug WebRTC applications.

Debugging WebRTC Applications on Desktop Chrome

Image1

[chrome://webrtc-internals] is probably the most popular debugging tool among developers. This is super helpful when it comes to identify common WebRTC issues that can be reproduced on Mac, Windows and Linux desktop environments. Using [chrome://webrtc-internals] you can see all the information related to iceServers, iceCandidates, SDPs, Signaling Status, Network, Track Health and Media capabilities. You can also create a dump and save it for further analysis.

[chrome://media-internals/] is another tool that can be used to debug issues with media capture and playback.

Debugging WebRTC Applications on iPhone and iPad Safari

Image1

To debug WebRTC issues on iPhone Safari, you have to connect your iPhone to your Mac and enable developer options first. Then,

  1. Open your application on iPhone
  2. Open Safari on your Mac and select `Develop -> ->
  3. On the debug window, click on the cogwheel and set WebRTC Logging to Verbose
  4. Click on console. Now you should be able to see WebRTC events and you should be able to inspect them.

Updated:

Leave a Comment