docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class RTCIceCandidatePairStats

    Details statistics for a pair of ICE candidates.

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

    Properties

    availableIncomingBitrate

    Estimated available incoming bitrate.

    Declaration
    public double availableIncomingBitrate { get; }
    Property Value
    Type Description
    double

    availableOutgoingBitrate

    Estimated available outgoing bitrate.

    Declaration
    public double availableOutgoingBitrate { get; }
    Property Value
    Type Description
    double

    bytesDiscardedOnSend

    Number of bytes discarded during sending.

    Declaration
    public ulong bytesDiscardedOnSend { get; }
    Property Value
    Type Description
    ulong

    bytesReceived

    Total bytes received over this candidate pair.

    Declaration
    public ulong bytesReceived { get; }
    Property Value
    Type Description
    ulong

    bytesSent

    Total bytes sent over this candidate pair.

    Declaration
    public ulong bytesSent { get; }
    Property Value
    Type Description
    ulong

    consentRequestsSent

    Number of consent requests sent.

    Declaration
    public ulong consentRequestsSent { get; }
    Property Value
    Type Description
    ulong

    currentRoundTripTime

    Most recent round-trip time measurement.

    Declaration
    public double currentRoundTripTime { get; }
    Property Value
    Type Description
    double

    lastPacketReceivedTimestamp

    Timestamp of the last packet received.

    Declaration
    public double lastPacketReceivedTimestamp { get; }
    Property Value
    Type Description
    double

    lastPacketSentTimestamp

    Timestamp of the last packet sent.

    Declaration
    public double lastPacketSentTimestamp { get; }
    Property Value
    Type Description
    double

    localCandidateId

    ID of the local ICE candidate in this pair.

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

    nominated

    Indicates if this pair is nominated for use.

    Declaration
    public bool nominated { get; }
    Property Value
    Type Description
    bool

    packetsDiscardedOnSend

    Number of packets discarded during sending.

    Declaration
    public ulong packetsDiscardedOnSend { get; }
    Property Value
    Type Description
    ulong

    packetsReceived

    Number of packets received over this candidate pair.

    Declaration
    public ulong packetsReceived { get; }
    Property Value
    Type Description
    ulong

    packetsSent

    Number of packets sent over this candidate pair.

    Declaration
    public ulong packetsSent { get; }
    Property Value
    Type Description
    ulong

    remoteCandidateId

    ID of the remote ICE candidate in this pair.

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

    requestsReceived

    Number of STUN requests received.

    Declaration
    public ulong requestsReceived { get; }
    Property Value
    Type Description
    ulong

    requestsSent

    Number of STUN requests sent.

    Declaration
    public ulong requestsSent { get; }
    Property Value
    Type Description
    ulong

    responsesReceived

    Number of STUN responses received.

    Declaration
    public ulong responsesReceived { get; }
    Property Value
    Type Description
    ulong

    responsesSent

    Number of STUN responses sent.

    Declaration
    public ulong responsesSent { get; }
    Property Value
    Type Description
    ulong

    state

    Current state of the candidate pair (e.g., succeeded, failed).

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

    totalRoundTripTime

    Round-trip time for this candidate pair.

    Declaration
    public double totalRoundTripTime { get; }
    Property Value
    Type Description
    double

    transportId

    Identifier for the transport used by this candidate pair.

    Declaration
    public string transportId { get; }
    Property Value
    Type Description
    string
    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)