DisconnectBehavior
.Mono
that, upon subscription, is able to obtain a VoiceConnection
from the given
VoiceGatewayOptions
.VoiceConnectionFactory
.VoiceConnection
capable of sending and receiving audio.VoiceConnection
for given guildId
and remove it from the registry.VoiceGatewayEvent
received from the Voice Gateway session.VoiceConnection
, if available from caching sources.VoiceConnection
.VoiceConnection
this registry holds for a given guildId
.WebsocketInbound
and WebsocketOutbound
to
manage a session until the remote closes or one of the local methods close()
or
error(Throwable)
methods are called.VoiceConnection.State.CONNECTED
state.VoiceConnectionRegistry
that tracks local VoiceConnection
instances.AudioReceiver
.VoiceReceiveTaskFactory
, performing all actions in the same JVM instance.AudioProvider
and submit audio packets locally.VoiceSendTaskFactory
, performing all actions in the same JVM instance.Mono
that completes when this connection reaches a VoiceConnection.State.CONNECTED
or
VoiceConnection.State.DISCONNECTED
state.VoiceConnection
for a given guildId
, replacing any existing one.VoiceConnection.State
transitions this voice connection receives.VoiceConnection
instances using a set of VoiceGatewayOptions
.VoiceConnection
instances.VoiceConnection
instances.ReactorResources
, tailored for the Voice Gateway operations.AudioReceiver
.AudioProvider
, encodes them and then sends them
through a given raw packet sink.VoiceServerOptions
from a VOICE_SERVER_UPDATE gateway event.