Interface RTCPeerConnectionEventMap
interface RTCPeerConnectionEventMap {
connectionstatechange: Event;
datachannel: RTCDataChannelEvent;
icecandidate: RTCPeerConnectionIceEvent;
icecandidateerror: RTCPeerConnectionIceErrorEvent;
iceconnectionstatechange: Event;
icegatheringstatechange: Event;
negotiationneeded: Event;
signalingstatechange: Event;
track: RTCTrackEvent;
}
connectionstatechange: Event;
datachannel: RTCDataChannelEvent;
icecandidate: RTCPeerConnectionIceEvent;
icecandidateerror: RTCPeerConnectionIceErrorEvent;
iceconnectionstatechange: Event;
icegatheringstatechange: Event;
negotiationneeded: Event;
signalingstatechange: Event;
track: RTCTrackEvent;
}