Discord Player

AudioPlayerBufferingState

The state that an AudioPlayer is in when it is waiting for a resource to become readable. Once this

AudioPlayerBufferingState

The state that an AudioPlayer is in when it is waiting for a resource to become readable. Once this happens, the AudioPlayer will enter the Playing state. If the resource ends/errors before this, then it will re-enter the Idle state.

PropertyTypeValueDescription
onFailureCallback( ...args: unknown[] ) => voidN/AN/A
onReadableCallback( ...args: unknown[] ) => voidN/AN/A
onStreamError( error: Error ) => voidN/AN/A
resourceAudioResource<unknown>N/AThe resource that the AudioPlayer is waiting for
statusBufferingN/AN/A

On this page