Class IceServer
ICE server configuration (STUN and/or TURN).
Namespace: Microsoft.MixedReality.WebRTC
Assembly: Microsoft.MixedReality.WebRTC.dll
Syntax
public class IceServer : object
Fields
| Improve this Doc View SourceTurnPassword
Optional TURN server credentials.
Declaration
public string TurnPassword
Field Value
Type | Description |
---|---|
String |
TurnUserName
Optional TURN server username.
Declaration
public string TurnUserName
Field Value
Type | Description |
---|---|
String |
Urls
List of TURN and/or STUN server URLs to use for NAT bypass, in order of preference.
The scheme is defined in the core WebRTC implementation, and is in short: stunURI = stunScheme ":" stun-host [ ":" stun-port ] stunScheme = "stun" / "stuns" turnURI = turnScheme ":" turn-host [ ":" turn-port ] [ "?transport=" transport ] turnScheme = "turn" / "turns"
Declaration
public List<string> Urls
Field Value
Type | Description |
---|---|
List<String> |
Methods
| Improve this Doc View SourceToString()
Format the ICE server data according to the encoded marshalling of the C++ API.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | The encoded string of ICE servers. |