Package net.dv8tion.jda.api.audio
The audio API for Discord.
We encode/decode opus audio packages that can be used in an audio connection.
To interact with the connection an AudioSendHandler
or an AudioReceiveHandler
have to be specified the audio manager.
-
Interface Summary Interface Description AudioReceiveHandler Interface used to receive audio from Discord through JDA.AudioSendHandler Interface used to send audio to Discord through JDA. -
Class Summary Class Description AudioNatives Controller used by JDA to ensure the native binaries for opus en-/decoding are available.CombinedAudio Represents a packet of combined audio data from 0 to n Users.OpusPacket A raw OPUS packet received from Discord that can be used for lazy decoding.UserAudio Represents a packet of User specific audio. -
Enum Summary Enum Description SpeakingMode Flags representing the speaking modes used by discord users.