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

StreamType

export declare enum StreamType
export declare enum StreamType
The different types of stream that can exist within the pipeline.
Arbitrary=

"arbitrary"

The type of the stream at this point is unknown.
OggOpus=

"ogg/opus"

The stream at this point is Opus audio encoded in an Ogg wrapper.
Opus=

"opus"

The stream at this point is Opus audio, and the stream is in object-mode. This is ready to play.
Raw=

"raw"

The stream at this point is s16le PCM.
WebmOpus=

"webm/opus"

The stream at this point is Opus audio encoded in a WebM wrapper.