Table of Contents

Class DataTrackInfo

Namespace
LiveKit.Proto

Information about a published data track.

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

Constructors

DataTrackInfo()

public DataTrackInfo()

DataTrackInfo(DataTrackInfo)

public DataTrackInfo(DataTrackInfo other)

Parameters

other DataTrackInfo

Fields

NameFieldNumber

Field number for the "name" field.

public const int NameFieldNumber = 1

Field Value

int

SidFieldNumber

Field number for the "sid" field.

public const int SidFieldNumber = 2

Field Value

int

UsesE2EeFieldNumber

Field number for the "uses_e2ee" field.

public const int UsesE2EeFieldNumber = 3

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

HasSid

Gets whether the "sid" field is set

public bool HasSid { get; }

Property Value

bool

HasUsesE2Ee

Gets whether the "uses_e2ee" field is set

public bool HasUsesE2Ee { get; }

Property Value

bool

Name

Name of the track assigned by the publisher.

public string Name { get; set; }

Property Value

string

Parser

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

Property Value

MessageParser<DataTrackInfo>

Sid

SFU-assigned track identifier.

public string Sid { get; set; }

Property Value

string

UsesE2Ee

Whether or not frames sent on the track use end-to-end encryption.

public bool UsesE2Ee { get; set; }

Property Value

bool

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearName()

Clears the value of the "name" field

public void ClearName()

ClearSid()

Clears the value of the "sid" field

public void ClearSid()

ClearUsesE2Ee()

Clears the value of the "uses_e2ee" field

public void ClearUsesE2Ee()

Clone()

public DataTrackInfo Clone()

Returns

DataTrackInfo

Equals(DataTrackInfo)

public bool Equals(DataTrackInfo other)

Parameters

other DataTrackInfo

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

public void MergeFrom(DataTrackInfo other)

Parameters

other DataTrackInfo

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream