You are reading the documentation for the next version of discord.js. Documentation for v13/v14+ has been moved to old.discordjs.dev

EndBehaviorType

export declare enum EndBehaviorType
export declare enum EndBehaviorType
The different behaviors an audio receive stream can have for deciding when to end.
AfterInactivity=

2

The stream will end after a given time period of no audio packets.
AfterSilence=

1

The stream will end after a given time period of silence/no audio packets.
Manual=

0

The stream will only end when manually destroyed.