Share via


RTCPeerConnectionIceEvent object

[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.]

The RTCPeerConnectionIceEvent object is used to represent events that occur in relation to ICE candidates with the target.

Syntax

 var peerConnectionEvent = new RTCPeerConnectionIceEvent(type, eventInitDict); 

Members

The RTCPeerConnectionIceEvent object has these types of members:

  • Properties

Properties

The RTCPeerConnectionIceEvent object has these properties.

Property Access type Description

candidate

Read-only

The candidate attribute is the RTCIceCandidate object with the new ICE candidate that caused the event.

 

Remarks

The RTCPeerConnectionIceEvent constructor includes the following parameters:

Parameter Type Description
type DOMString Specifies the event type.
eventInitDict RTCPeerConnectionIceEventInit Specifies the RTCIceCandidate that caused the peer connection.