onConnectionChange
Triggered when the connection state changes. Used to start and stop the stats observing.
Parameters
newState
The new state of the PeerConnection.
Triggered when the connection state changes. Used to start and stop the stats observing.
The new state of the PeerConnection.