Table of Contents

Class RtcStats.Types.MediaSource

Namespace
LiveKit.Proto
public sealed class RtcStats.Types.MediaSource : Google.Protobuf.IMessage<RtcStats.Types.MediaSource>, Google.Protobuf.IBufferMessage
Inheritance
RtcStats.Types.MediaSource
Implements
IBufferMessage
Extension Methods

Constructors

MediaSource()

public MediaSource()

MediaSource(MediaSource)

public MediaSource(RtcStats.Types.MediaSource other)

Parameters

other RtcStats.Types.MediaSource

Fields

AudioFieldNumber

Field number for the "audio" field.

public const int AudioFieldNumber = 3

Field Value

int

RtcFieldNumber

Field number for the "rtc" field.

public const int RtcFieldNumber = 1

Field Value

int

SourceFieldNumber

Field number for the "source" field.

public const int SourceFieldNumber = 2

Field Value

int

VideoFieldNumber

Field number for the "video" field.

public const int VideoFieldNumber = 4

Field Value

int

Properties

Audio

public AudioSourceStats Audio { get; set; }

Property Value

AudioSourceStats

Descriptor

public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Parser

public static Google.Protobuf.MessageParser<RtcStats.Types.MediaSource> Parser { get; }

Property Value

MessageParser<MediaSource>

Rtc

public RtcStatsData Rtc { get; set; }

Property Value

RtcStatsData

Source

public MediaSourceStats Source { get; set; }

Property Value

MediaSourceStats

Video

public VideoSourceStats Video { get; set; }

Property Value

VideoSourceStats

Methods

CalculateSize()

public int CalculateSize()

Returns

int

Clone()

public RtcStats.Types.MediaSource Clone()

Returns

RtcStats.Types.MediaSource

Equals(MediaSource)

public bool Equals(RtcStats.Types.MediaSource other)

Parameters

other RtcStats.Types.MediaSource

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(CodedInputStream)

public void MergeFrom(Google.Protobuf.CodedInputStream input)

Parameters

input CodedInputStream

MergeFrom(MediaSource)

public void MergeFrom(RtcStats.Types.MediaSource other)

Parameters

other RtcStats.Types.MediaSource

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream