AudioPlayerOptions
Defined in: packages/voice/src/player.ts:30
Options for AudioPlayer.
Properties
Section titled “Properties”maxMissedFrames?
Section titled “maxMissedFrames?”
optionalmaxMissedFrames?: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).
noSubscriber?
Section titled “noSubscriber?”
optionalnoSubscriber?:"stop"|"pause"|"play"
Defined in: packages/voice/src/player.ts:32
With no ready subscriber: "pause" (default) waits, "play" keeps consuming, "stop" stops.