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

AudioReceiveStream

export declare class AudioReceiveStream extends Readable
export declare class AudioReceiveStream extends Readable
A readable stream of Opus packets received from a specific entity in a Discord voice connection.

Extends

Readable
constructor({ end, ...options })
Constructs a new instance of the AudioReceiveStream class
NameTypeOptionalDescription
{ end, ...options }AudioReceiveStreamOptionsNoNone
Readonly
The end behavior of the receive stream.
_read():void
push(buffer):boolean
NameTypeOptionalDescription
bufferBuffer_2 | nullNoNone