Share via


RTCIceTransportStateChangedEvent 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 RTCIceTransport object state changes (onicestatechange events).

Event Property: RTCIceTransport.rtcicetransportstatechangedevent

attachEvent Method: RTCIceTransport.icestatechange

Syntax

 

Event information

Synchronous No
Bubbles No
Cancelable No

 

Event handler parameters

  • state
    Type: RTCIceTransportState

    RTCIceTransportStateChangedEvent.state
    

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

    readonly

    nullable

Standards information

Remarks

Firing an RTCIceTransportStateChangedEvent event named X with an RTCIceTransportState state 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 RTCIceTransportStateChangedEvent interface with the state attribute set to the new RTCIceTransportState, must be created and dispatched at the given target.

dictionary RTCIceTransportStateChangedEventInit : EventInit {
             RTCIceTransportState? state;
};

[Constructor(DOMString type, RTCIceTransportStateChangedEventInit eventInitDict)]
interface RTCIceTransportStateChangedEvent : Event {
    readonly    attribute RTCIceTransportState state;
};

See also

RTCIceTransport