RTCIceGathererStateChangedEvent event

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

Represents events that fire in relation to an ICE candidate state change.

Firing an RTCIceGathererStateChangedEvent named X with an RTCIceGatherState means that an event with the name X, which does not bubble (except where otherwise stated) and is not cancelable (except where otherwise stated), and which uses the RTCIceGathererStateChangedEvent interface with the state attribute set to the new RTCIceGathererState, must be created and dispatched at the given target.

Syntax

HTML Attribute <element RTCIceGathererStateChangedEvent = "handler(event)">
Event Property object.RTCIceGathererStateChangedEvent = handler;
attachEvent Method object.attachEvent("RTCIceGathererStateChangedEvent", handler)
addEventListener Method object.addEventListener("", handler, useCapture)

 

Event information

Synchronous No
Bubbles No
Cancelable No

 

Event handler parameters

  • state
    Type: RTCIceGathererState

    The state attribute is the new RTCIceGathererState that caused the event.

Standards information

See also

RTCIceGatherer