docs.unity.cn
    Show / Hide Table of Contents

    Class RTCStats

    Inheritance
    Object
    RTCStats
    RTCAudioPlayoutStats
    RTCCertificateStats
    RTCCodecStats
    RTCDataChannelStats
    RTCIceCandidatePairStats
    RTCIceCandidateStats
    RTCMediaSourceStats
    RTCPeerConnectionStats
    RTCRTPStreamStats
    RTCTransportStats
    Namespace: Unity.WebRTC
    Syntax
    public class RTCStats

    Properties

    Dict

    Declaration
    public IDictionary<string, object> Dict { get; }
    Property Value
    Type Description
    IDictionary<String, Object>

    Id

    Declaration
    public string Id { get; }
    Property Value
    Type Description
    String

    Timestamp

    this timestamp is utc epoch time micro seconds.

    Declaration
    public long Timestamp { get; }
    Property Value
    Type Description
    Int64

    Type

    Declaration
    public RTCStatsType Type { get; }
    Property Value
    Type Description
    RTCStatsType

    UtcTimeStamp

    Declaration
    public DateTime UtcTimeStamp { get; }
    Property Value
    Type Description
    DateTime

    Methods

    ToJson()

    Declaration
    public string ToJson()
    Returns
    Type Description
    String
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, July 12, 2023