Table of Contents

Class StreamInfo

Namespace
LiveKit.Proto
Assembly
LiveKit.AspNetCore.ServerSdk.Abstractions.dll
public sealed class StreamInfo : IMessage<StreamInfo>, IEquatable<StreamInfo>, IDeepCloneable<StreamInfo>, IBufferMessage, IMessage
Inheritance
StreamInfo
Implements
IMessage<StreamInfo>
IDeepCloneable<StreamInfo>
IBufferMessage
IMessage
Inherited Members

Constructors

StreamInfo()

public StreamInfo()

StreamInfo(StreamInfo)

public StreamInfo(StreamInfo other)

Parameters

other StreamInfo

Fields

DurationFieldNumber

Field number for the "duration" field.

public const int DurationFieldNumber = 4

Field Value

int

EndedAtFieldNumber

Field number for the "ended_at" field.

public const int EndedAtFieldNumber = 3

Field Value

int

ErrorFieldNumber

Field number for the "error" field.

public const int ErrorFieldNumber = 6

Field Value

int

LastRetryAtFieldNumber

Field number for the "last_retry_at" field.

public const int LastRetryAtFieldNumber = 7

Field Value

int

RetriesFieldNumber

Field number for the "retries" field.

public const int RetriesFieldNumber = 8

Field Value

int

StartedAtFieldNumber

Field number for the "started_at" field.

public const int StartedAtFieldNumber = 2

Field Value

int

StatusFieldNumber

Field number for the "status" field.

public const int StatusFieldNumber = 5

Field Value

int

UrlFieldNumber

Field number for the "url" field.

public const int UrlFieldNumber = 1

Field Value

int

Properties

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Duration

public long Duration { get; set; }

Property Value

long

EndedAt

public long EndedAt { get; set; }

Property Value

long

Error

public string Error { get; set; }

Property Value

string

LastRetryAt

public long LastRetryAt { get; set; }

Property Value

long

Parser

public static MessageParser<StreamInfo> Parser { get; }

Property Value

MessageParser<StreamInfo>

Retries

public uint Retries { get; set; }

Property Value

uint

StartedAt

public long StartedAt { get; set; }

Property Value

long

Status

public StreamInfo.Types.Status Status { get; set; }

Property Value

StreamInfo.Types.Status

Url

public string Url { get; set; }

Property Value

string

Methods

CalculateSize()

Calculates the size of this message in Protocol Buffer wire format, in bytes.

public int CalculateSize()

Returns

int

The number of bytes required to write this message to a coded output stream.

Clone()

Creates a deep clone of this object.

public StreamInfo Clone()

Returns

StreamInfo

A deep clone of this object.

Equals(StreamInfo)

public bool Equals(StreamInfo other)

Parameters

other StreamInfo

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(CodedInputStream)

Merges the data from the specified coded input stream with the current message.

public void MergeFrom(CodedInputStream input)

Parameters

input CodedInputStream

Remarks

See the user guide for precise merge semantics.

MergeFrom(StreamInfo)

Merges the given message into this one.

public void MergeFrom(StreamInfo other)

Parameters

other StreamInfo

Remarks

See the user guide for precise merge semantics.

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

Writes the data to the given coded output stream.

public void WriteTo(CodedOutputStream output)

Parameters

output CodedOutputStream

Coded output stream to write the data to. Must not be null.