docs.unity.cn
    Show / Hide Table of Contents

    Class RTCVideoSourceStats

    Inheritance
    Object
    RTCStats
    RTCMediaSourceStats
    RTCVideoSourceStats
    Inherited Members
    RTCMediaSourceStats.trackIdentifier
    RTCMediaSourceStats.kind
    RTCStats.Type
    RTCStats.Id
    RTCStats.Timestamp
    RTCStats.UtcTimeStamp
    RTCStats.Dict
    RTCStats.ToJson()
    Namespace: Unity.WebRTC
    Syntax
    public class RTCVideoSourceStats : RTCMediaSourceStats

    Properties

    frames

    Declaration
    public uint frames { get; }
    Property Value
    Type Description
    UInt32

    framesPerSecond

    Declaration
    public uint framesPerSecond { get; }
    Property Value
    Type Description
    UInt32
    Remarks

    RFC define double but chromium define uint32_t https://source.chromium.org/chromium/chromium/src/+/main:third_party/webrtc/api/stats/rtcstats_objects.h;l=645;bpv=0;bpt=1

    height

    Declaration
    public uint height { get; }
    Property Value
    Type Description
    UInt32

    width

    Declaration
    public uint width { get; }
    Property Value
    Type Description
    UInt32
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, October 4, 2022
    Terms of use