Search...

AudioPlayerBufferingState

export interface AudioPlayerBufferingState 
export interface 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.

onFailureCallback

:

() => void

onReadableCallback

:

() => void

onStreamError

:

(error: Error) => void

resource

:

AudioResource

The resource that the AudioPlayer is waiting for