Home > sip.js > PeerConnectionDelegate > oniceconnectionstatechange
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;
Parameter | Type | Description |
---|---|---|
event | Event |
Event. |
Returns:
void