Class VoiceLinkConfiguration
- Namespace
- DSharpPlus.VoiceLink
- Assembly
- DSharpPlus.VoiceLink.dll
public sealed record VoiceLinkConfiguration : IEquatable<VoiceLinkConfiguration>
- Inheritance
-
VoiceLinkConfiguration
- Implements
- Inherited Members
Properties
AudioCodecFactory
A delegate which creates a new audio codec instance. The audio codec is responsible for encoding and decoding audio data into the user's desired format.
public AudioCodecFactory AudioCodecFactory { get; set; }
Property Value
MaxHeartbeatQueueSize
How many missed heartbeats before the voice client attempts to reconnect.
public int MaxHeartbeatQueueSize { get; set; }
Property Value
SpeakingTimeout
When StartSpeakingAsync() should timeout after attempting to read AudioInput for too long.
public TimeSpan SpeakingTimeout { get; set; }
Property Value
VoiceEncryptionCipher
Which voice encryption cipher to use for voice data encryption/decryption.
public IVoiceEncryptionCipher VoiceEncryptionCipher { get; set; }