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
Type | Name | Description |
---|---|---|
string | uri | The uri of the ice server. |
string | userName | The username to log into the ice server. |
string | password | The password to log into the ice server. |
Returns: An ice candidate object with the given handle.
override string ToString
public override string ToString()