Skip to content

Debugging Calling

Thomas Belin edited this page Aug 30, 2019 · 1 revision

Calling is a tough matter to debug. It implies peer to peer connections to each other which, in other words, means that you do not have any central state that you can look at. Every single peer has it's own truth and you need to have the logs from all peers to know the general state of the system.

We have a few tools that can help you trouble shooting calls that go wrong.

Visual live call debugger

When you run the app in an environment when debugging is enabled (FEATURE.ENABLE_DEBUG flag), then you have access to the call debugger.

When a call is running, you can press ctrl+alt+c and you should see this little guy popping up

live call debugger

This will give you a list of peerConnection that are active and will show you the number of packets sent and received from them.