docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class RTCCodecStats

    Provides codec-specific statistics for RTP streams.

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

    Properties

    channels

    Identifies the codec's number of channels.

    Declaration
    public uint channels { get; }
    Property Value
    Type Description
    uint

    clockRate

    Identifies the codec's clock rate.

    Declaration
    public uint clockRate { get; }
    Property Value
    Type Description
    uint

    mimeType

    Identifies the codec's MIME type and subtype.

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

    payloadType

    Identifies the payload type for this codec.

    Declaration
    public uint payloadType { get; }
    Property Value
    Type Description
    uint

    sdpFmtpLine

    The SDP format parameters associated with this codec.

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

    transportId

    Identifies the transport used by this codec.

    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)