Table of Contents

Class IngressAudioOptions

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

Constructors

IngressAudioOptions()

public IngressAudioOptions()

IngressAudioOptions(IngressAudioOptions)

public IngressAudioOptions(IngressAudioOptions other)

Parameters

other IngressAudioOptions

Fields

NameFieldNumber

Field number for the "name" field.

public const int NameFieldNumber = 1

Field Value

int

OptionsFieldNumber

Field number for the "options" field.

public const int OptionsFieldNumber = 4

Field Value

int

PresetFieldNumber

Field number for the "preset" field.

public const int PresetFieldNumber = 3

Field Value

int

SourceFieldNumber

Field number for the "source" field.

public const int SourceFieldNumber = 2

Field Value

int

Properties

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

EncodingOptionsCase

public IngressAudioOptions.EncodingOptionsOneofCase EncodingOptionsCase { get; }

Property Value

IngressAudioOptions.EncodingOptionsOneofCase

HasPreset

Gets whether the "preset" field is set

public bool HasPreset { get; }

Property Value

bool

Name

public string Name { get; set; }

Property Value

string

Options

public IngressAudioEncodingOptions Options { get; set; }

Property Value

IngressAudioEncodingOptions

Parser

public static MessageParser<IngressAudioOptions> Parser { get; }

Property Value

MessageParser<IngressAudioOptions>

Preset

public IngressAudioEncodingPreset Preset { get; set; }

Property Value

IngressAudioEncodingPreset

Source

public TrackSource Source { get; set; }

Property Value

TrackSource

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.

ClearEncodingOptions()

public void ClearEncodingOptions()

ClearPreset()

Clears the value of the oneof if it's currently set to "preset"

public void ClearPreset()

Clone()

Creates a deep clone of this object.

public IngressAudioOptions Clone()

Returns

IngressAudioOptions

A deep clone of this object.

Equals(IngressAudioOptions)

public bool Equals(IngressAudioOptions other)

Parameters

other IngressAudioOptions

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

Merges the given message into this one.

public void MergeFrom(IngressAudioOptions other)

Parameters

other IngressAudioOptions

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.