Class LocalTrackRepublished
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
otherLocalTrackRepublished
Fields
InfoFieldNumber
Field number for the "info" field.
public const int InfoFieldNumber = 3
Field Value
PreviousSidFieldNumber
Field number for the "previous_sid" field.
public const int PreviousSidFieldNumber = 2
Field Value
PublicationHandleFieldNumber
Field number for the "publication_handle" field.
public const int PublicationHandleFieldNumber = 1
Field Value
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
HasPublicationHandle
Gets whether the "publication_handle" field is set
public bool HasPublicationHandle { get; }
Property Value
Info
public TrackPublicationInfo Info { get; set; }
Property Value
Parser
public static Google.Protobuf.MessageParser<LocalTrackRepublished> Parser { get; }
Property Value
- MessageParser<LocalTrackRepublished>
PreviousSid
public string PreviousSid { get; set; }
Property Value
PublicationHandle
public ulong PublicationHandle { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
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
Equals(LocalTrackRepublished)
public bool Equals(LocalTrackRepublished other)
Parameters
otherLocalTrackRepublished
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
inputCodedInputStream
MergeFrom(LocalTrackRepublished)
public void MergeFrom(LocalTrackRepublished other)
Parameters
otherLocalTrackRepublished
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream