Table of Contents

Class LocalTrackRepublished

Namespace
LiveKit.Proto

Fired when the SDK auto-republishes a local track during a full reconnect. The FfiPublication handle is preserved across the cycle — language bindings should look up the existing publication object by previous_sid (its old SID), update its TrackPublicationInfo in place with info, and rekey it under the new SID. Apps holding a cached reference to the publication continue to see a valid object whose reads/writes hit current state.

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

Constructors

LocalTrackRepublished()

public LocalTrackRepublished()

LocalTrackRepublished(LocalTrackRepublished)

public LocalTrackRepublished(LocalTrackRepublished other)

Parameters

other LocalTrackRepublished

Fields

InfoFieldNumber

Field number for the "info" field.

public const int InfoFieldNumber = 3

Field Value

int

PreviousSidFieldNumber

Field number for the "previous_sid" field.

public const int PreviousSidFieldNumber = 2

Field Value

int

PublicationHandleFieldNumber

Field number for the "publication_handle" field.

public const int PublicationHandleFieldNumber = 1

Field Value

int

Properties

Descriptor

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

Property Value

MessageDescriptor

HasPreviousSid

Gets whether the "previous_sid" field is set

public bool HasPreviousSid { get; }

Property Value

bool

HasPublicationHandle

Gets whether the "publication_handle" field is set

public bool HasPublicationHandle { get; }

Property Value

bool

Info

public TrackPublicationInfo Info { get; set; }

Property Value

TrackPublicationInfo

Parser

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

Property Value

MessageParser<LocalTrackRepublished>

PreviousSid

public string PreviousSid { get; set; }

Property Value

string

PublicationHandle

public ulong PublicationHandle { get; set; }

Property Value

ulong

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearPreviousSid()

Clears the value of the "previous_sid" field

public void ClearPreviousSid()

ClearPublicationHandle()

Clears the value of the "publication_handle" field

public void ClearPublicationHandle()

Clone()

public LocalTrackRepublished Clone()

Returns

LocalTrackRepublished

Equals(LocalTrackRepublished)

public bool Equals(LocalTrackRepublished other)

Parameters

other LocalTrackRepublished

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

public void MergeFrom(LocalTrackRepublished other)

Parameters

other LocalTrackRepublished

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream