Package-level declarations
Types
A frame of 20ms Opus-encoded 48k stereo audio data.
Implementations of AudioProvider should provide proper AudioFrames representing the audio which should be transmitted to Discord.
The default implementation for FrameInterceptor. Any custom implementation should extend this and call the super intercept method, or else the speaking flags will not be sent!
Data that is used to configure for the lifetime of a DefaultFrameInterceptor.
See EncryptionModes in the Discord Developer Documentation.
An interceptor for audio frames before they are sent as packets.
See SpeakingFlags in the Discord Developer Documentation.
A collection of multiple SpeakingFlags.
A VoiceConnection is an adapter that forms the concept of a voice connection, or a connection between you and Discord voice servers.
Data that represents a VoiceConnection, these will never change during the lifetime of a VoiceConnection.
Functions
Returns an instance of SpeakingFlags that has all bits set that are set in any element of flags.
Returns an instance of SpeakingFlags built with SpeakingFlags.Builder.
Builds a VoiceConnection configured by the builder.