Class DataTrackStreamEOS
Stream has ended.
public sealed class DataTrackStreamEOS : Google.Protobuf.IMessage<DataTrackStreamEOS>, Google.Protobuf.IBufferMessage
- Inheritance
-
DataTrackStreamEOS
- Implements
-
IBufferMessage
- Extension Methods
Constructors
DataTrackStreamEOS()
public DataTrackStreamEOS()
DataTrackStreamEOS(DataTrackStreamEOS)
public DataTrackStreamEOS(DataTrackStreamEOS other)
Parameters
otherDataTrackStreamEOS
Fields
ErrorFieldNumber
Field number for the "error" field.
public const int ErrorFieldNumber = 1
Field Value
Properties
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Error
Present if stream ended before any frames were emitted due to subscription establishment failing. Absent if the stream ended normally (i.e., due to the track being unpublished).
public SubscribeDataTrackError Error { get; set; }
Property Value
Parser
public static Google.Protobuf.MessageParser<DataTrackStreamEOS> Parser { get; }
Property Value
- MessageParser<DataTrackStreamEOS>
Methods
CalculateSize()
public int CalculateSize()
Returns
Clone()
public DataTrackStreamEOS Clone()
Returns
Equals(DataTrackStreamEOS)
public bool Equals(DataTrackStreamEOS other)
Parameters
otherDataTrackStreamEOS
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(DataTrackStreamEOS)
public void MergeFrom(DataTrackStreamEOS other)
Parameters
otherDataTrackStreamEOS
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream