Table of Contents

Class NodeStatsRate

Namespace
LiveKit.Proto
Assembly
LiveKit.AspNetCore.ServerSdk.Abstractions.dll

rates of different node stats (per second)

public sealed class NodeStatsRate : IMessage<NodeStatsRate>, IEquatable<NodeStatsRate>, IDeepCloneable<NodeStatsRate>, IBufferMessage, IMessage
Inheritance
NodeStatsRate
Implements
IMessage<NodeStatsRate>
IDeepCloneable<NodeStatsRate>
IBufferMessage
IMessage
Inherited Members

Constructors

NodeStatsRate()

public NodeStatsRate()

NodeStatsRate(NodeStatsRate)

public NodeStatsRate(NodeStatsRate other)

Parameters

other NodeStatsRate

Fields

BytesInFieldNumber

Field number for the "bytes_in" field.

public const int BytesInFieldNumber = 8

Field Value

int

BytesOutFieldNumber

Field number for the "bytes_out" field.

public const int BytesOutFieldNumber = 9

Field Value

int

CpuLoadFieldNumber

Field number for the "cpu_load" field.

public const int CpuLoadFieldNumber = 20

Field Value

int

DurationFieldNumber

Field number for the "duration" field.

public const int DurationFieldNumber = 3

Field Value

int

EndedAtFieldNumber

Field number for the "ended_at" field.

public const int EndedAtFieldNumber = 2

Field Value

int

MemoryLoadFieldNumber

Field number for the "memory_load" field.

public const int MemoryLoadFieldNumber = 21

Field Value

int

MemoryTotalFieldNumber

Field number for the "memory_total" field.

public const int MemoryTotalFieldNumber = 23

Field Value

int

MemoryUsedFieldNumber

Field number for the "memory_used" field.

public const int MemoryUsedFieldNumber = 22

Field Value

int

NackTotalFieldNumber

Field number for the "nack_total" field.

public const int NackTotalFieldNumber = 12

Field Value

int

PacketsInFieldNumber

Field number for the "packets_in" field.

public const int PacketsInFieldNumber = 10

Field Value

int

PacketsOutFieldNumber

Field number for the "packets_out" field.

public const int PacketsOutFieldNumber = 11

Field Value

int

ParticipantRtcCanceledFieldNumber

Field number for the "participant_rtc_canceled" field.

public const int ParticipantRtcCanceledFieldNumber = 26

Field Value

int

ParticipantRtcConnectedFieldNumber

Field number for the "participant_rtc_connected" field.

public const int ParticipantRtcConnectedFieldNumber = 18

Field Value

int

ParticipantRtcInitFieldNumber

Field number for the "participant_rtc_init" field.

public const int ParticipantRtcInitFieldNumber = 19

Field Value

int

ParticipantSignalConnectedFieldNumber

Field number for the "participant_signal_connected" field.

public const int ParticipantSignalConnectedFieldNumber = 17

Field Value

int

RetransmitBytesOutFieldNumber

Field number for the "retransmit_bytes_out" field.

public const int RetransmitBytesOutFieldNumber = 15

Field Value

int

RetransmitPacketsOutFieldNumber

Field number for the "retransmit_packets_out" field.

public const int RetransmitPacketsOutFieldNumber = 16

Field Value

int

StartedAtFieldNumber

Field number for the "started_at" field.

public const int StartedAtFieldNumber = 1

Field Value

int

SysPacketsDroppedFieldNumber

Field number for the "sys_packets_dropped" field.

public const int SysPacketsDroppedFieldNumber = 14

Field Value

int

SysPacketsOutFieldNumber

Field number for the "sys_packets_out" field.

public const int SysPacketsOutFieldNumber = 13

Field Value

int

TrackPublishAttemptsFieldNumber

Field number for the "track_publish_attempts" field.

public const int TrackPublishAttemptsFieldNumber = 4

Field Value

int

TrackPublishCancelsFieldNumber

Field number for the "track_publish_cancels" field.

public const int TrackPublishCancelsFieldNumber = 24

Field Value

int

TrackPublishSuccessFieldNumber

Field number for the "track_publish_success" field.

public const int TrackPublishSuccessFieldNumber = 5

Field Value

int

TrackSubscribeAttemptsFieldNumber

Field number for the "track_subscribe_attempts" field.

public const int TrackSubscribeAttemptsFieldNumber = 6

Field Value

int

TrackSubscribeCancelsFieldNumber

Field number for the "track_subscribe_cancels" field.

public const int TrackSubscribeCancelsFieldNumber = 25

Field Value

int

TrackSubscribeSuccessFieldNumber

Field number for the "track_subscribe_success" field.

public const int TrackSubscribeSuccessFieldNumber = 7

Field Value

int

Properties

BytesIn

public float BytesIn { get; set; }

Property Value

float

BytesOut

public float BytesOut { get; set; }

Property Value

float

CpuLoad

time weighted averages across stats windows forming part of a rate measurement interval

public float CpuLoad { get; set; }

Property Value

float

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

MemoryLoad

public float MemoryLoad { get; set; }

Property Value

float

MemoryTotal

public float MemoryTotal { get; set; }

Property Value

float

MemoryUsed

public float MemoryUsed { get; set; }

Property Value

float

NackTotal

public float NackTotal { get; set; }

Property Value

float

PacketsIn

public float PacketsIn { get; set; }

Property Value

float

PacketsOut

public float PacketsOut { get; set; }

Property Value

float

Parser

public static MessageParser<NodeStatsRate> Parser { get; }

Property Value

MessageParser<NodeStatsRate>

ParticipantRtcCanceled

public float ParticipantRtcCanceled { get; set; }

Property Value

float

ParticipantRtcConnected

public float ParticipantRtcConnected { get; set; }

Property Value

float

ParticipantRtcInit

public float ParticipantRtcInit { get; set; }

Property Value

float

ParticipantSignalConnected

public float ParticipantSignalConnected { get; set; }

Property Value

float

RetransmitBytesOut

public float RetransmitBytesOut { get; set; }

Property Value

float

RetransmitPacketsOut

public float RetransmitPacketsOut { get; set; }

Property Value

float

StartedAt

public long StartedAt { get; set; }

Property Value

long

SysPacketsDropped

public float SysPacketsDropped { get; set; }

Property Value

float

SysPacketsOut

public float SysPacketsOut { get; set; }

Property Value

float

TrackPublishAttempts

public float TrackPublishAttempts { get; set; }

Property Value

float

TrackPublishCancels

public float TrackPublishCancels { get; set; }

Property Value

float

TrackPublishSuccess

public float TrackPublishSuccess { get; set; }

Property Value

float

TrackSubscribeAttempts

public float TrackSubscribeAttempts { get; set; }

Property Value

float

TrackSubscribeCancels

public float TrackSubscribeCancels { get; set; }

Property Value

float

TrackSubscribeSuccess

public float TrackSubscribeSuccess { get; set; }

Property Value

float

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 NodeStatsRate Clone()

Returns

NodeStatsRate

A deep clone of this object.

Equals(NodeStatsRate)

public bool Equals(NodeStatsRate other)

Parameters

other NodeStatsRate

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

Merges the given message into this one.

public void MergeFrom(NodeStatsRate other)

Parameters

other NodeStatsRate

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.