Class VoiceNextConfiguration
VoiceNext client configuration.
Inheritance
System.Object
VoiceNextConfiguration
Namespace: DSharpPlus.VoiceNext
Assembly: cs.temp.dll.dll
Syntax
public sealed class VoiceNextConfiguration
Constructors
VoiceNextConfiguration()
Creates a new instance of VoiceNextConfiguration.
Declaration
public VoiceNextConfiguration()
VoiceNextConfiguration(VoiceNextConfiguration)
Creates a new instance of VoiceNextConfiguration, copying the properties of another configuration.
Declaration
public VoiceNextConfiguration(VoiceNextConfiguration other)
Parameters
Type | Name | Description |
---|---|---|
VoiceNextConfiguration | other | Configuration the properties of which are to be copied. |
Properties
AudioFormat
Sets the audio format for Opus. This will determine the quality of the audio output.
Defaults to Default.
Declaration
public AudioFormat AudioFormat { set; }
Property Value
Type | Description |
---|---|
AudioFormat |
EnableIncoming
Sets whether incoming voice receiver should be enabled.
Defaults to false.
Declaration
public bool EnableIncoming { set; }
Property Value
Type | Description |
---|---|
System.Boolean |
PacketQueueSize
Sets the size of the packet queue.
Defaults to 25 or ~500ms.
Declaration
public int PacketQueueSize { set; }
Property Value
Type | Description |
---|---|
System.Int32 |