Table of Contents

Class RTCPeerConnectionIceErrorEvent

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The RTCPeerConnectionIceErrorEvent interface—based upon the Event interface—provides details pertaining to an {{Glossary("ICE")}} error announced by sending an RTCPeerConnection.Icecandidateerror event to the RTCPeerConnection object.

[Value("RTCPeerConnectionIceErrorEvent")]
public class RTCPeerConnectionIceErrorEvent : Event
Inheritance
RTCPeerConnectionIceErrorEvent
Inherited Members

Remarks

Constructors

RTCPeerConnectionIceErrorEvent()

public RTCPeerConnectionIceErrorEvent()

RTCPeerConnectionIceErrorEvent(string, RTCPeerConnectionIceErrorEventInit)

public RTCPeerConnectionIceErrorEvent(string type, RTCPeerConnectionIceErrorEventInit eventInitDict)

Parameters

type string
eventInitDict RTCPeerConnectionIceErrorEventInit

Properties

Address

The RTCPeerConnectionIceErrorEvent property
address is a string which indicates the local IP address
being used to communicate with the STUN or TURN server
during negotiations. The error which occurred involved this address.

[Value("address")]
public string? Address { get; }

Property Value

string

A string which specifies the local IP address of the network
connection to the ICE server with which negotiations were occurring when the error
occurred. This address identifies the network interface on the local device which is
being used to attempt to establish the connection to the remote peer.This can be useful on multi-homed systems—devices with more than one network
connection—to determine which network interface is being used. For example, on a mobile
phone, there are typically at least two network interfaces available: the cellular
connection and a Wi-Fi connection.If the local IP address isn't exposed as part of a local candidate, the value of
address is null.

Remarks

ErrorCode

[Value("errorCode")]
public ushort ErrorCode { get; }

Property Value

ushort

ErrorText

[Value("errorText")]
public string ErrorText { get; }

Property Value

string

Port

[Value("port")]
public ushort? Port { get; }

Property Value

ushort?

Url

[Value("url")]
public string Url { get; }

Property Value

string