Table of Contents

Class FrameStats

Namespace
Nyra.Entities
Assembly
Nyra.dll

Audio frame statistics of the server. The window is the last minute on Lavalink, lifetime totals per voice connection on NodeLink, the members are not comparable across the two servers.

public sealed record FrameStats : IEquatable<FrameStats>
Inheritance
FrameStats
Implements
Inherited Members

Properties

Deficit

The frames that were due but not sent in the last minute.

[JsonPropertyName("deficit")]
[JsonInclude]
public long Deficit { get; }

Property Value

long

Expected

Frames the node expected to send, always null on Lavalink.

[JsonPropertyName("expected")]
[JsonInclude]
public long? Expected { get; }

Property Value

long?

Remarks

NodeLink's frame counts are lifetime totals accumulated since each voice connection started, Lavalink reports last-minute averages per player.

Nulled

The frames that went out as silence in the last minute, on NodeLink the packets that never went out at all.

[JsonPropertyName("nulled")]
[JsonInclude]
public long Nulled { get; }

Property Value

long

Sent

The frames sent to Discord, in the last minute on Lavalink, lifetime on NodeLink.

[JsonPropertyName("sent")]
[JsonInclude]
public long Sent { get; }

Property Value

long