Table of Contents

Class AudioSourceStats

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

Constructors

AudioSourceStats()

public AudioSourceStats()

AudioSourceStats(AudioSourceStats)

public AudioSourceStats(AudioSourceStats other)

Parameters

other AudioSourceStats

Fields

AudioLevelFieldNumber

Field number for the "audio_level" field.

public const int AudioLevelFieldNumber = 1

Field Value

int

DroppedSamplesDurationFieldNumber

Field number for the "dropped_samples_duration" field.

public const int DroppedSamplesDurationFieldNumber = 6

Field Value

int

DroppedSamplesEventsFieldNumber

Field number for the "dropped_samples_events" field.

public const int DroppedSamplesEventsFieldNumber = 7

Field Value

int

EchoReturnLossEnhancementFieldNumber

Field number for the "echo_return_loss_enhancement" field.

public const int EchoReturnLossEnhancementFieldNumber = 5

Field Value

int

EchoReturnLossFieldNumber

Field number for the "echo_return_loss" field.

public const int EchoReturnLossFieldNumber = 4

Field Value

int

TotalAudioEnergyFieldNumber

Field number for the "total_audio_energy" field.

public const int TotalAudioEnergyFieldNumber = 2

Field Value

int

TotalCaptureDelayFieldNumber

Field number for the "total_capture_delay" field.

public const int TotalCaptureDelayFieldNumber = 8

Field Value

int

TotalSamplesCapturedFieldNumber

Field number for the "total_samples_captured" field.

public const int TotalSamplesCapturedFieldNumber = 9

Field Value

int

TotalSamplesDurationFieldNumber

Field number for the "total_samples_duration" field.

public const int TotalSamplesDurationFieldNumber = 3

Field Value

int

Properties

AudioLevel

public double AudioLevel { get; set; }

Property Value

double

Descriptor

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

Property Value

MessageDescriptor

DroppedSamplesDuration

public double DroppedSamplesDuration { get; set; }

Property Value

double

DroppedSamplesEvents

public uint DroppedSamplesEvents { get; set; }

Property Value

uint

EchoReturnLoss

public double EchoReturnLoss { get; set; }

Property Value

double

EchoReturnLossEnhancement

public double EchoReturnLossEnhancement { get; set; }

Property Value

double

HasAudioLevel

Gets whether the "audio_level" field is set

public bool HasAudioLevel { get; }

Property Value

bool

HasDroppedSamplesDuration

Gets whether the "dropped_samples_duration" field is set

public bool HasDroppedSamplesDuration { get; }

Property Value

bool

HasDroppedSamplesEvents

Gets whether the "dropped_samples_events" field is set

public bool HasDroppedSamplesEvents { get; }

Property Value

bool

HasEchoReturnLoss

Gets whether the "echo_return_loss" field is set

public bool HasEchoReturnLoss { get; }

Property Value

bool

HasEchoReturnLossEnhancement

Gets whether the "echo_return_loss_enhancement" field is set

public bool HasEchoReturnLossEnhancement { get; }

Property Value

bool

HasTotalAudioEnergy

Gets whether the "total_audio_energy" field is set

public bool HasTotalAudioEnergy { get; }

Property Value

bool

HasTotalCaptureDelay

Gets whether the "total_capture_delay" field is set

public bool HasTotalCaptureDelay { get; }

Property Value

bool

HasTotalSamplesCaptured

Gets whether the "total_samples_captured" field is set

public bool HasTotalSamplesCaptured { get; }

Property Value

bool

HasTotalSamplesDuration

Gets whether the "total_samples_duration" field is set

public bool HasTotalSamplesDuration { get; }

Property Value

bool

Parser

public static Google.Protobuf.MessageParser<AudioSourceStats> Parser { get; }

Property Value

MessageParser<AudioSourceStats>

TotalAudioEnergy

public double TotalAudioEnergy { get; set; }

Property Value

double

TotalCaptureDelay

public double TotalCaptureDelay { get; set; }

Property Value

double

TotalSamplesCaptured

public ulong TotalSamplesCaptured { get; set; }

Property Value

ulong

TotalSamplesDuration

public double TotalSamplesDuration { get; set; }

Property Value

double

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearAudioLevel()

Clears the value of the "audio_level" field

public void ClearAudioLevel()

ClearDroppedSamplesDuration()

Clears the value of the "dropped_samples_duration" field

public void ClearDroppedSamplesDuration()

ClearDroppedSamplesEvents()

Clears the value of the "dropped_samples_events" field

public void ClearDroppedSamplesEvents()

ClearEchoReturnLoss()

Clears the value of the "echo_return_loss" field

public void ClearEchoReturnLoss()

ClearEchoReturnLossEnhancement()

Clears the value of the "echo_return_loss_enhancement" field

public void ClearEchoReturnLossEnhancement()

ClearTotalAudioEnergy()

Clears the value of the "total_audio_energy" field

public void ClearTotalAudioEnergy()

ClearTotalCaptureDelay()

Clears the value of the "total_capture_delay" field

public void ClearTotalCaptureDelay()

ClearTotalSamplesCaptured()

Clears the value of the "total_samples_captured" field

public void ClearTotalSamplesCaptured()

ClearTotalSamplesDuration()

Clears the value of the "total_samples_duration" field

public void ClearTotalSamplesDuration()

Clone()

public AudioSourceStats Clone()

Returns

AudioSourceStats

Equals(AudioSourceStats)

public bool Equals(AudioSourceStats other)

Parameters

other AudioSourceStats

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(AudioSourceStats)

public void MergeFrom(AudioSourceStats other)

Parameters

other AudioSourceStats

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream