docs.unity.cn
    Show / Hide Table of Contents

    Struct RTCIceServer

    Namespace: Unity.WebRTC
    Syntax
    [Serializable]
    public struct RTCIceServer

    Fields

    credential

    Declaration
    [Tooltip("Optional: specifies the password to use when authenticating with the ICE server")]
    public string credential
    Field Value
    Type Description
    String

    credentialType

    Declaration
    [Tooltip("What type of credential the `password` value")]
    public RTCIceCredentialType credentialType
    Field Value
    Type Description
    RTCIceCredentialType

    urls

    Declaration
    [Tooltip("Array to set URLs of your STUN/TURN servers")]
    public string[] urls
    Field Value
    Type Description
    String[]

    username

    Declaration
    [Tooltip("Optional: specifies the username to use when authenticating with the ICE server")]
    public string username
    Field Value
    Type Description
    String

    See Also

    RTCConfiguration
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, October 4, 2022
    Terms of use