RecordOptions
Defined in: packages/voice/src/receiver.ts:18
Options for VoiceReceiver.record.
Properties
Section titled “Properties”
optionalend?:ReceiveEnd
Defined in: packages/voice/src/receiver.ts:20
When the recording ends. Default { behavior: "manual" }: on unsubscribe(), cancel, or when the connection ends.
highWaterMark?
Section titled “highWaterMark?”
optionalhighWaterMark?:number
Defined in: packages/voice/src/receiver.ts:22
Bytes kept for a slow reader; audio beyond it is replaced by silence. Default 1 MiB.