Table of Contents

Class ConnectionSettings

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

Constructors

ConnectionSettings()

public ConnectionSettings()

ConnectionSettings(ConnectionSettings)

public ConnectionSettings(ConnectionSettings other)

Parameters

other ConnectionSettings

Fields

AdaptiveStreamFieldNumber

Field number for the "adaptive_stream" field.

public const int AdaptiveStreamFieldNumber = 2

Field Value

int

AutoSubscribeDataTrackFieldNumber

Field number for the "auto_subscribe_data_track" field.

public const int AutoSubscribeDataTrackFieldNumber = 5

Field Value

int

AutoSubscribeFieldNumber

Field number for the "auto_subscribe" field.

public const int AutoSubscribeFieldNumber = 1

Field Value

int

DisableIceLiteFieldNumber

Field number for the "disable_ice_lite" field.

public const int DisableIceLiteFieldNumber = 4

Field Value

int

SubscriberAllowPauseFieldNumber

Field number for the "subscriber_allow_pause" field.

public const int SubscriberAllowPauseFieldNumber = 3

Field Value

int

Properties

AdaptiveStream

public bool AdaptiveStream { get; set; }

Property Value

bool

AutoSubscribe

public bool AutoSubscribe { get; set; }

Property Value

bool

AutoSubscribeDataTrack

public bool AutoSubscribeDataTrack { get; set; }

Property Value

bool

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

DisableIceLite

public bool DisableIceLite { get; set; }

Property Value

bool

HasAutoSubscribeDataTrack

Gets whether the "auto_subscribe_data_track" field is set

public bool HasAutoSubscribeDataTrack { get; }

Property Value

bool

HasSubscriberAllowPause

Gets whether the "subscriber_allow_pause" field is set

public bool HasSubscriberAllowPause { get; }

Property Value

bool

Parser

public static MessageParser<ConnectionSettings> Parser { get; }

Property Value

MessageParser<ConnectionSettings>

SubscriberAllowPause

public bool SubscriberAllowPause { get; set; }

Property Value

bool

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.

ClearAutoSubscribeDataTrack()

Clears the value of the "auto_subscribe_data_track" field

public void ClearAutoSubscribeDataTrack()

ClearSubscriberAllowPause()

Clears the value of the "subscriber_allow_pause" field

public void ClearSubscriberAllowPause()

Clone()

Creates a deep clone of this object.

public ConnectionSettings Clone()

Returns

ConnectionSettings

A deep clone of this object.

Equals(ConnectionSettings)

public bool Equals(ConnectionSettings other)

Parameters

other ConnectionSettings

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

Merges the given message into this one.

public void MergeFrom(ConnectionSettings other)

Parameters

other ConnectionSettings

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.