/
docs
/
packages
/
voice
/
main
/
AudioPlayerPlayingState%3AInterface
Search...
K
voice
discord.js
brokers
builders
collection
core
formatters
next
proxy
rest
util
voice
ws
main
main
Classes
AudioPlayer
AudioPlayerError
AudioReceiveStream
AudioResource
PlayerSubscription
SpeakingMap
SSRCMap
VoiceConnection
VoiceReceiver
Functions
createAudioPlayer
createAudioResource
createDefaultAudioReceiveStreamOptions
demuxProbe
entersState
generateDependencyReport
getGroups
getVoiceConnection
getVoiceConnections
joinVoiceChannel
validateDiscordOpusHead
Enums
AudioPlayerStatus
EndBehaviorType
NoSubscriberBehavior
StreamType
VoiceConnectionDisconnectReason
VoiceConnectionStatus
Interfaces
AudioPlayer
AudioPlayerBufferingState
AudioPlayerIdleState
AudioPlayerPausedState
AudioPlayerPlayingState
AudioReceiveStreamOptions
CreateAudioPlayerOptions
CreateAudioResourceOptions
CreateVoiceConnectionOptions
DiscordGatewayAdapterImplementerMethods
DiscordGatewayAdapterLibraryMethods
JoinConfig
JoinVoiceChannelOptions
ProbeInfo
SpeakingMap
SSRCMap
VoiceConnection
VoiceConnectionConnectingState
VoiceConnectionDestroyedState
VoiceConnectionDisconnectedBaseState
VoiceConnectionDisconnectedOtherState
VoiceConnectionDisconnectedWebSocketState
VoiceConnectionReadyState
VoiceConnectionSignallingState
VoiceUserData
Types
AudioPlayerState
DiscordGatewayAdapterCreator
EndBehavior
VoiceConnectionDisconnectedState
VoiceConnectionState
Variables
version
AudioPlayerPlayingState
export interface
AudioPlayerPlayingState
export interface
AudioPlayerPlayingState
Summary
The state that an AudioPlayer is in when it is actively playing an AudioResource. When playback ends, it will enter the Idle state.
Properties
missedFrames
:
number
The number of consecutive times that the audio resource has been unable to provide an Opus frame.
onStreamError
:
(error:
Error
) =>
void
playbackDuration
:
number
The playback duration in milliseconds of the current audio resource. This includes filler silence packets that have been played when the resource was buffering.
resource
:
AudioResource
The resource that is being played.
status
:
AudioPlayerStatus.Playing