Show / Hide Table of Contents

    Class IceServer

    ICE server configuration (STUN and/or TURN).

    Inheritance
    Object
    IceServer
    Namespace: Microsoft.MixedReality.WebRTC
    Assembly: Microsoft.MixedReality.WebRTC.dll
    Syntax
    public class IceServer : object

    Fields

    | Improve this Doc View Source

    TurnPassword

    Optional TURN server credentials.

    Declaration
    public string TurnPassword
    Field Value
    Type Description
    String
    | Improve this Doc View Source

    TurnUserName

    Optional TURN server username.

    Declaration
    public string TurnUserName
    Field Value
    Type Description
    String
    | Improve this Doc View Source

    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 Source

    ToString()

    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.

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX