Table of Contents

Class DataTrackOptions

Namespace
LiveKit.Proto

Options for publishing a data track.

public sealed class DataTrackOptions : Google.Protobuf.IMessage<DataTrackOptions>, Google.Protobuf.IBufferMessage
Inheritance
DataTrackOptions
Implements
IBufferMessage
Extension Methods

Constructors

DataTrackOptions()

public DataTrackOptions()

DataTrackOptions(DataTrackOptions)

public DataTrackOptions(DataTrackOptions other)

Parameters

other DataTrackOptions

Fields

NameFieldNumber

Field number for the "name" field.

public const int NameFieldNumber = 1

Field Value

int

Properties

Descriptor

public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

HasName

Gets whether the "name" field is set

public bool HasName { get; }

Property Value

bool

Name

Track name used to identify the track to other participants.

Must not be empty and must be unique per publisher.

public string Name { get; set; }

Property Value

string

Parser

public static Google.Protobuf.MessageParser<DataTrackOptions> Parser { get; }

Property Value

MessageParser<DataTrackOptions>

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearName()

Clears the value of the "name" field

public void ClearName()

Clone()

public DataTrackOptions Clone()

Returns

DataTrackOptions

Equals(DataTrackOptions)

public bool Equals(DataTrackOptions other)

Parameters

other DataTrackOptions

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(CodedInputStream)

public void MergeFrom(Google.Protobuf.CodedInputStream input)

Parameters

input CodedInputStream

MergeFrom(DataTrackOptions)

public void MergeFrom(DataTrackOptions other)

Parameters

other DataTrackOptions

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream