Table of Contents

Class IngressVideoOptions

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

Constructors

IngressVideoOptions()

public IngressVideoOptions()

IngressVideoOptions(IngressVideoOptions)

public IngressVideoOptions(IngressVideoOptions other)

Parameters

other IngressVideoOptions

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 IngressVideoOptions.EncodingOptionsOneofCase EncodingOptionsCase { get; }

Property Value

IngressVideoOptions.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 IngressVideoEncodingOptions Options { get; set; }

Property Value

IngressVideoEncodingOptions

Parser

public static MessageParser<IngressVideoOptions> Parser { get; }

Property Value

MessageParser<IngressVideoOptions>

Preset

public IngressVideoEncodingPreset Preset { get; set; }

Property Value

IngressVideoEncodingPreset

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 IngressVideoOptions Clone()

Returns

IngressVideoOptions

A deep clone of this object.

Equals(IngressVideoOptions)

public bool Equals(IngressVideoOptions other)

Parameters

other IngressVideoOptions

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

Merges the given message into this one.

public void MergeFrom(IngressVideoOptions other)

Parameters

other IngressVideoOptions

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.