How does chrome://webrtc-internals/ come to know that a new tab is opened and there is an active webrtc call from which it has to gather the statistics.I am more interested in knowing how does it dynamically come to know that this is the tab on which there is an active webrtc call and it needs to start gathering the statistics.

1

There are 1 best solutions below

3
On

All RTCPeerConnection's in chrome report to the peer_connection_tracker which in turn sends a message to (the "backend" of) webrtc-internals