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.

Constructors

constructor(
{ end, ...options }: AudioReceiveStreamOptions
)

Constructs a new instance of the AudioReceiveStream class

readonly
end : EndBehavior

The end behavior of the receive stream.

_read() : void

push(
buffer: Buffer | null
) : boolean