Table of Contents

Struct VoiceReceiveEventArgs

Namespace
NetCord.Gateway.Voice
Assembly
NetCord.dll
public readonly ref struct VoiceReceiveEventArgs
Inherited Members

Constructors

VoiceReceiveEventArgs(byte[]?, int, int, uint, uint?, ushort)

public VoiceReceiveEventArgs(byte[]? buffer, int frameIndex, int frameLength, uint ssrc, uint? timestamp, ushort sequenceNumber)

Parameters

buffer byte[]
frameIndex int
frameLength int
ssrc uint
timestamp uint?
sequenceNumber ushort

Properties

Frame

The voice frame data.

public ReadOnlySpan<byte> Frame { get; }

Property Value

ReadOnlySpan<byte>

SequenceNumber

The sequence number of the voice frame.

public ushort SequenceNumber { get; }

Property Value

ushort

Ssrc

The synchronization source (SSRC) of the sender of the voice frame.

public uint Ssrc { get; }

Property Value

uint

Timestamp

The timestamp of the voice frame. null when the frame was lost.

public uint? Timestamp { get; }

Property Value

uint?