MixedReality-WebRTC MixedReality-WebRTC
Search Results for

    Show / Hide Table of Contents

    Class PeerConnection.StatsReport

    Snapshot of the statistics relative to a peer connection/track. The various stats objects can be read through GetStats<T>().

    Inheritance
    Object
    PeerConnection.StatsReport
    Namespace: Microsoft.MixedReality.WebRTC
    Assembly: Microsoft.MixedReality.WebRTC.dll
    Syntax
    public class StatsReport : IDisposable

    Methods

    | Improve this Doc View Source

    Dispose()

    Dispose of the report.

    Declaration
    public void Dispose()
    | Improve this Doc View Source

    GetStats<T>()

    Get all the instances of a specific stats type in the report.

    Declaration
    public IEnumerable<T> GetStats<T>()
    Returns
    Type Description
    IEnumerable<T>
    Type Parameters
    Name Description
    T

    Must be one of PeerConnection.DataChannelStats, PeerConnection.AudioSenderStats, PeerConnection.AudioReceiverStats, PeerConnection.VideoSenderStats, PeerConnection.VideoReceiverStats, PeerConnection.TransportStats.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX