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
Readableconstructor({ end, ...options })
Constructs a new instance of the
AudioReceiveStream
className | Type | Optional | Description |
---|---|---|---|
{ end, ...options } | AudioReceiveStreamOptions | No | None |
Readonly
The end behavior of the receive stream.
_read()
:
void
push(buffer)
:
boolean
Name | Type | Optional | Description |
---|---|---|---|
buffer | Buffer | null | No | None |