Skip to content

Recorder

classe · Source

Represents a FFmpeg handler

Extends: EventEmitter

Properties

userId

userId: Snowflake

The user ID Source

output

output: string | Readable

The output of the stream Source

ready

ready: boolean

The FFmpeg process is ready or not Source

stream

stream: ChildProcessWithoutNullStreams

The FFmpeg process Source

Methods

feed

feed(payload: RtpPacket | string | Buffer, callback: *)

Send a payload to FFmpeg via UDP Parameters

NameTypeDescription
payloadRtpPacket | string | BufferThe payload
callback*Callback
Source

Unofficial software. Not affiliated with or supported by Discord.