class AudioReceiveStream
extends
Readableexport declare class AudioReceiveStream extends ReadableA readable stream of Opus packets received from a specific entity in a Discord voice connection.
Constructors
constructor(options: AudioReceiveStreamOptions)
options: AudioReceiveStreamOptions
Constructs a new instance of the AudioReceiveStream class
readonlyend : EndBehavior
The end behavior of the receive stream.
_read() : void
push(packet: AudioPacket | null) : boolean
packet: AudioPacket | null