Discord Player

AudioPlayerPlayingState

The state that an AudioPlayer is in when it is actively playing an AudioResource. When playback ends, it will enter the Idle state.

AudioPlayerPlayingState

The state that an AudioPlayer is in when it is actively playing an AudioResource. When playback ends, it will enter the Idle state.

PropertyTypeValueDescription
missedFramesnumberN/AThe number of consecutive times that the audio resource has been unable to provide an Opus frame.
onStreamError( error: Error ) => voidN/AN/A
playbackDurationnumberN/AThe playback duration in milliseconds of the current audio resource. This includes filler silence packets that have been played when the resource was buffering.
resourceAudioResource<unknown>N/AThe resource that is being played.
statusPlayingN/AN/A

On this page