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 | nullNoNone