Table of Contents

Class ClientConfiguration

Namespace
LiveKit.Proto
Assembly
LiveKit.AspNetCore.ServerSdk.Abstractions.dll

server provided client configuration

public sealed class ClientConfiguration : IMessage<ClientConfiguration>, IEquatable<ClientConfiguration>, IDeepCloneable<ClientConfiguration>, IBufferMessage, IMessage
Inheritance
ClientConfiguration
Implements
IDeepCloneable<ClientConfiguration>
IBufferMessage
IMessage
Inherited Members

Constructors

ClientConfiguration()

public ClientConfiguration()

ClientConfiguration(ClientConfiguration)

public ClientConfiguration(ClientConfiguration other)

Parameters

other ClientConfiguration

Fields

DisabledCodecsFieldNumber

Field number for the "disabled_codecs" field.

public const int DisabledCodecsFieldNumber = 4

Field Value

int

ForceRelayFieldNumber

Field number for the "force_relay" field.

public const int ForceRelayFieldNumber = 5

Field Value

int

ResumeConnectionFieldNumber

Field number for the "resume_connection" field.

public const int ResumeConnectionFieldNumber = 3

Field Value

int

ScreenFieldNumber

Field number for the "screen" field.

public const int ScreenFieldNumber = 2

Field Value

int

VideoFieldNumber

Field number for the "video" field.

public const int VideoFieldNumber = 1

Field Value

int

Properties

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

DisabledCodecs

public DisabledCodecs DisabledCodecs { get; set; }

Property Value

DisabledCodecs

ForceRelay

public ClientConfigSetting ForceRelay { get; set; }

Property Value

ClientConfigSetting

Parser

public static MessageParser<ClientConfiguration> Parser { get; }

Property Value

MessageParser<ClientConfiguration>

ResumeConnection

public ClientConfigSetting ResumeConnection { get; set; }

Property Value

ClientConfigSetting

Screen

public VideoConfiguration Screen { get; set; }

Property Value

VideoConfiguration

Video

public VideoConfiguration Video { get; set; }

Property Value

VideoConfiguration

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

Returns

ClientConfiguration

A deep clone of this object.

Equals(ClientConfiguration)

public bool Equals(ClientConfiguration other)

Parameters

other ClientConfiguration

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

Merges the given message into this one.

public void MergeFrom(ClientConfiguration other)

Parameters

other ClientConfiguration

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.