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
| Name | Type | Description |
|---|---|---|
payload | RtpPacket | string | Buffer | The payload |
callback | * | Callback |
| Source |