VoiceConnectionBuilder
Properties
The AudioProvider for this VoiceConnection. No audio will be provided when one is not set.
The dev.kord.voice.udp.AudioFrameSender for this VoiceConnection. If null, dev.kord.voice.udp.DefaultAudioFrameSender will be used.
The amount of time the connection should wait before assuming the voice connection has been closed instead of moved.
The FrameInterceptor for this VoiceConnection. If null
, DefaultFrameInterceptor will be used.
The nonce strategy to be used for the encryption of audio packets. If null
, dev.kord.voice.encryption.strategies.LiteNonceStrategy will be used.
A flag to control the implementation of streams. Set to false by default. When set to false, a NOP implementation will be used. When set to true, a proper receiving implementation will be used.
A Streams implementation to be used. This will override the receiveVoice flag.
The amount in milliseconds to wait for the events required to create a VoiceConnection. Default is 5000, or 5 seconds.
A dev.kord.voice.udp.VoiceUdpSocket implementation to be used. If null, a default will be used.
Functions
A builder to customize the voice connection's underlying VoiceGateway.