Table of Contents

Method GetTransmitSink

Namespace
DSharpPlus.VoiceNext
Assembly
DSharpPlus.VoiceNext.dll

GetTransmitSink(int)

Gets a transmit stream for this connection, optionally specifying a packet size to use with the stream. If a stream is already configured, it will return the existing one.

public VoiceTransmitSink GetTransmitSink(int sampleDuration = 20)

Parameters

sampleDuration int

Duration, in ms, to use for audio packets.

Returns

VoiceTransmitSink

Transmit stream.