Class Client
A XirSys v3 client.
Inheritance
System.Object
Client
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FM.LiveSwitch.XirSys.V3
Assembly: FM.LiveSwitch.XirSys.dll
Syntax
public class Client
Constructors
Client(String, String, String)
Initializes a new instance of the Client class.
Declaration
public Client(string ident, string secret, string channel)
Parameters
Type | Name | Description |
---|---|---|
System.String | ident | The "ident" value. |
System.String | secret | The "secret" value. |
System.String | channel | The "channel" value. |
Client(String, String, String, Boolean)
Initializes a new instance of the Client class.
Declaration
public Client(string ident, string secret, string channel, bool secure)
Parameters
Type | Name | Description |
---|---|---|
System.String | ident | The "ident" value. |
System.String | secret | The "secret" value. |
System.String | channel | The "channel" value. |
System.Boolean | secure | The "secure" value. |
Properties
Channel
Gets or sets the "channel" value.
Declaration
public string Channel { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DefaultEndpoint
Gets or sets the default HTTP endpoint. Defaults to "https://global.xirsys.net/_turn".
Declaration
public static string DefaultEndpoint { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Endpoint
Gets or sets the HTTP endpoint.
Declaration
public string Endpoint { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Ident
Gets or sets the "ident" value.
Declaration
public string Ident { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Secret
Gets or sets the "secret" value.
Declaration
public string Secret { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Secure
Gets or sets the "secure" value.
Defaults to true
.
Declaration
public bool Secure { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
GetIceServers()
Gets an array of XirSys ICE servers.
Declaration
public Future<IceServer[]> GetIceServers()
Returns
Type | Description |
---|---|
Future<IceServer[]> |