interface CreateVoiceConnectionOptions

export interface CreateVoiceConnectionOptions

The options that can be given when creating a voice connection.

optional
daveEncryption? : boolean | undefined

Whether to use the DAVE protocol for end-to-end encryption. Defaults to true.

optional
debug? : boolean | undefined

If true, debug messages will be enabled for the voice connection and its related components. Defaults to false.

optional
decryptionFailureTolerance? : number | undefined

The amount of consecutive decryption failures needed to try to re-initialize the end-to-end encrypted session to recover. Defaults to 24.