sip.js.peerconnectiondelegate.oniceconnectionstatechange.md
September 26, 2022 ยท View on GitHub
Home > sip.js > PeerConnectionDelegate > oniceconnectionstatechange
PeerConnectionDelegate.oniceconnectionstatechange() method
This happens whenever the local ICE agent needs to deliver a message to the other peer through the signaling server. This lets the ICE agent perform negotiation with the remote peer without the browser itself needing to know any specifics about the technology being used for signalingTriggered when the IceConnectionState changes.
Signature:
oniceconnectionstatechange?(event: Event): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| event | Event | Event. |
Returns:
void