The following events fire on objects:

    Event nameInterfaceFired when…
    trackRTCTrackEventNew incoming media has been negotiated for a specific , and that receiver’s track has been added to any associated remote s.
    EventThe browser wishes to inform the application that session negotiation needs to be done (i.e. a createOffer call followed by setLocalDescription).
    signalingstatechangeThe signaling state has changed. This state change is the result of either or setRemoteDescription being invoked.
    iceconnectionstatechangeThe RTCPeerConnection‘s has changed.
    icegatheringstatechangeEventThe ‘s ICE gathering state has changed.
    icecandidateA new RTCIceCandidate is made available to the script.
    connectionstatechangeThe RTCPeerConnection. has changed.
    icecandidateerrorRTCPeerConnectionIceErrorEventA failure occured when gathering ICE candidates.
    datachannelA new RTCDataChannel is dispatched to the script in response to the other peer creating a channel.

    The following events fire on objects:

    Event nameInterfaceFired when…
    statechangeEventThe state changes.
    gatheringstatechangeEventThe gathering state changes.
    selectedcandidatepairchangeEventThe ‘s selected candidate pair changes.

    The following events fire on RTCDtlsTransport objects:

    Event nameInterfaceFired when…
    statechangeThe RTCSctpTransport state changes.