docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class RTCIceCandidateStats

    Contains statistics for a single ICE candidate.

    Inheritance
    object
    RTCStats
    RTCIceCandidateStats
    Inherited Members
    RTCStats.Type
    RTCStats.Id
    RTCStats.Timestamp
    RTCStats.UtcTimeStamp
    RTCStats.Dict
    RTCStats.ToJson()
    Namespace: Unity.WebRTC
    Assembly: Unity.WebRTC.dll
    Syntax
    public class RTCIceCandidateStats : RTCStats

    Properties

    address

    The address of the candidate.

    Declaration
    public string address { get; }
    Property Value
    Type Description
    string

    candidateType

    The type of the candidate (e.g., "host", "srflx", "prflx", "relay").

    Declaration
    public string candidateType { get; }
    Property Value
    Type Description
    string

    foundation

    The string which uniquely identifies the candidate.

    Declaration
    public string foundation { get; }
    Property Value
    Type Description
    string

    ip

    The IP address of the candidate.

    Declaration
    public string ip { get; }
    Property Value
    Type Description
    string

    networkAdapterType

    The type of network adapter used by the candidate (e.g., "ethernet", "wifi").

    Declaration
    public string networkAdapterType { get; }
    Property Value
    Type Description
    string

    networkType

    The network type of the candidate (e.g., "wifi", "ethernet").

    Declaration
    public string networkType { get; }
    Property Value
    Type Description
    string

    port

    The port number of the candidate.

    Declaration
    public int port { get; }
    Property Value
    Type Description
    int

    priority

    The candidate's priority.

    Declaration
    public int priority { get; }
    Property Value
    Type Description
    int

    protocol

    The protocol used by the candidate (e.g., "udp", "tcp").

    Declaration
    public string protocol { get; }
    Property Value
    Type Description
    string

    relatedAddress

    The related address of the candidate, if applicable.

    Declaration
    public string relatedAddress { get; }
    Property Value
    Type Description
    string

    relatedPort

    The related port of the candidate, if applicable.

    Declaration
    public int relatedPort { get; }
    Property Value
    Type Description
    int

    relayProtocol

    The transport protocol used by the relay candidate (e.g., "udp", "tcp", "tls").

    Declaration
    public string relayProtocol { get; }
    Property Value
    Type Description
    string

    tcpType

    The TCP type of the candidate (e.g., "active", "passive", "so").

    Declaration
    public string tcpType { get; }
    Property Value
    Type Description
    string

    transportId

    Identifier for the transport associated with this candidate.

    Declaration
    public string transportId { get; }
    Property Value
    Type Description
    string

    url

    The URL of the TURN server used by the candidate, if applicable.

    Declaration
    public string url { get; }
    Property Value
    Type Description
    string

    usernameFragment

    The username fragment used in ICE negotiation.

    Declaration
    public string usernameFragment { get; }
    Property Value
    Type Description
    string

    vpn

    Indicates if the candidate is on a VPN.

    Declaration
    public bool vpn { get; }
    Property Value
    Type Description
    bool
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)