AudioPlayerPausedState
interface AudioPlayerPausedState
interface AudioPlayerPausedState
The state that an AudioPlayer is in when it has either been explicitly paused by the user, or done automatically by the AudioPlayer itself if there are no available subscribers.
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 current resource of the audio player.
silencePacketsRemaining
:
number
How many silence packets still need to be played to avoid audio interpolation due to the stream suddenly pausing.