sip.js.peerconnectiondelegate.onconnectionstatechange.md

September 26, 2022 ยท View on GitHub

Home > sip.js > PeerConnectionDelegate > onconnectionstatechange

PeerConnectionDelegate.onconnectionstatechange() method

This happens whenever the aggregate state of the connection changes. The aggregate state is a combination of the states of all of the individual network transports being used by the connection.

Signature:

onconnectionstatechange?(event: Event): void;

Parameters

ParameterTypeDescription
eventEventEvent.

Returns:

void