The following events fire on objects:
Event name | Interface | Fired when… |
---|---|---|
track |
| New incoming media has been negotiated for a specific , and that receiver’s has been added to any associated remote s. |
Event | The browser wishes to inform the application that session negotiation needs to be done (i.e. a createOffer call followed by setLocalDescription). | |
signalingstatechange | The signaling state has changed. This state change is the result of either or being invoked. | |
iceconnectionstatechange | The ‘s has changed. | |
icegatheringstatechange | Event | The ‘s ICE gathering state has changed. |
icecandidate | A new is made available to the script. | |
connectionstatechange | The . has changed. | |
icecandidateerror |
| A failure occured when gathering ICE candidates. |
datachannel | A new is dispatched to the script in response to the other peer creating a channel. |
The following events fire on objects:
Event name | Interface | Fired when… |
---|---|---|
statechange | Event | The state changes. |
gatheringstatechange | Event | The gathering state changes. |
selectedcandidatepairchange | Event | The ‘s selected candidate pair changes. |
The following events fire on RTCDtlsTransport
objects:
Event name | Interface | Fired when… |
---|---|---|
statechange | The state changes. |