Skip to content

AudioPlayerStatus

const AudioPlayerStatus: object

Defined in: packages/voice/src/player.ts:6

Where an AudioPlayer is.

readonly AutoPaused: "autopaused" = "autopaused"

Paused because no subscribed connection can send (noSubscriber: "pause").

readonly Buffering: "buffering" = "buffering"

A resource is loaded but its next frame is not ready yet.

readonly Idle: "idle" = "idle"

Nothing to play.

readonly Paused: "paused" = "paused"

Paused by pause().

readonly Playing: "playing" = "playing"

Sending a frame every 20 ms.