Table of Contents

Struct VoiceReceiveEventArgs

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

Constructors

VoiceReceiveEventArgs(ReadOnlySpan<byte>, uint, uint, ushort)

public VoiceReceiveEventArgs(ReadOnlySpan<byte> frame, uint ssrc, uint timestamp, ushort sequenceNumber)

Parameters

frame ReadOnlySpan<byte>
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.

public uint Timestamp { get; }

Property Value

uint