Search...

AudioReceiveStream

declare class AudioReceiveStream extends Readable 
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

end

:

EndBehavior

The end behavior of the receive stream.

_read()

:

void

push(buffer)

:

boolean

NameTypeOptionalDescription
bufferBuffer | nullNoNone