Table of Contents

Class InputAudioState

Namespace
LiveKit.Proto
Assembly
LiveKit.AspNetCore.ServerSdk.Abstractions.dll
public sealed class InputAudioState : IMessage<InputAudioState>, IEquatable<InputAudioState>, IDeepCloneable<InputAudioState>, IBufferMessage, IMessage
Inheritance
InputAudioState
Implements
IMessage<InputAudioState>
IDeepCloneable<InputAudioState>
IBufferMessage
IMessage
Inherited Members

Constructors

InputAudioState()

public InputAudioState()

InputAudioState(InputAudioState)

public InputAudioState(InputAudioState other)

Parameters

other InputAudioState

Fields

AverageBitrateFieldNumber

Field number for the "average_bitrate" field.

public const int AverageBitrateFieldNumber = 2

Field Value

int

ChannelsFieldNumber

Field number for the "channels" field.

public const int ChannelsFieldNumber = 3

Field Value

int

MimeTypeFieldNumber

Field number for the "mime_type" field.

public const int MimeTypeFieldNumber = 1

Field Value

int

SampleRateFieldNumber

Field number for the "sample_rate" field.

public const int SampleRateFieldNumber = 4

Field Value

int

Properties

AverageBitrate

public uint AverageBitrate { get; set; }

Property Value

uint

Channels

public uint Channels { get; set; }

Property Value

uint

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

MimeType

public string MimeType { get; set; }

Property Value

string

Parser

public static MessageParser<InputAudioState> Parser { get; }

Property Value

MessageParser<InputAudioState>

SampleRate

public uint SampleRate { get; set; }

Property Value

uint

Methods

CalculateSize()

Calculates the size of this message in Protocol Buffer wire format, in bytes.

public int CalculateSize()

Returns

int

The number of bytes required to write this message to a coded output stream.

Clone()

Creates a deep clone of this object.

public InputAudioState Clone()

Returns

InputAudioState

A deep clone of this object.

Equals(InputAudioState)

public bool Equals(InputAudioState other)

Parameters

other InputAudioState

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(CodedInputStream)

Merges the data from the specified coded input stream with the current message.

public void MergeFrom(CodedInputStream input)

Parameters

input CodedInputStream

Remarks

See the user guide for precise merge semantics.

MergeFrom(InputAudioState)

Merges the given message into this one.

public void MergeFrom(InputAudioState other)

Parameters

other InputAudioState

Remarks

See the user guide for precise merge semantics.

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

Writes the data to the given coded output stream.

public void WriteTo(CodedOutputStream output)

Parameters

output CodedOutputStream

Coded output stream to write the data to. Must not be null.