Skip to content

AudioPlayerOptions

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

Options for AudioPlayer.

optional maxMissedFrames?: number

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

Frames the resource may be late in a row before playback fails. Default 250 (5 s).


optional noSubscriber?: "stop" | "pause" | "play"

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

With no ready subscriber: "pause" (default) waits, "play" keeps consuming, "stop" stops.