Skip to main content
Version: 20 Mar 2024

IceServer

Class that represents an ice server used by the MLWebRTC API.

Public Fields

Password

Gets the password to log into the ice server.


public string Password { get; set; }


Uri

Gets the uri of the ice server.


public string Uri { get; set; }


UserName

Gets the username to log into the ice server.


public string UserName { get; set; }


Public Methods

IceServer Create

Factory method used to create a new IceServer object.

public static IceServer Create(
string uri,
string userName =null,
string password =null
)

Parameters

TypeNameDescription
stringuriThe uri of the ice server.
stringuserNameThe username to log into the ice server.
stringpasswordThe password to log into the ice server.

Returns: An ice candidate object with the given handle.


override string ToString

public override string ToString()