Share via


CommunicationIceServer Class

Definition

The user should be able to serialize or deserialize CommunicationIceServer for better experience.

[System.Text.Json.Serialization.JsonConverter(typeof(Azure.Communication.NetworkTraversal.CommunicationIceServer+CommunicationIceServerConverter))]
public class CommunicationIceServer
[<System.Text.Json.Serialization.JsonConverter(typeof(Azure.Communication.NetworkTraversal.CommunicationIceServer+CommunicationIceServerConverter))>]
type CommunicationIceServer = class
Public Class CommunicationIceServer
Inheritance
CommunicationIceServer
Attributes

Constructors

CommunicationIceServer(IEnumerable<String>, String, String, RouteType)

Initializes a new instance of CommunicationIceServer.

Properties

Credential

Credential for the server.

RouteType

The routing methodology to where the ICE server will be located from the client. "any" will have higher reliability while "nearest" will have lower latency. It is recommended to default to use the "any" routing method unless there are specific scenarios which minimizing latency is critical.

Urls

List of STUN/TURN server URLs.

Username

User account name which uniquely identifies the credentials.

Applies to