Recorder interface. Recorder is used by
OutgoingMessage
to record and send voice data
Custom recorder implementation should call method onready
once recorder is initialized and method
ondata
once PCM data portion is ready- Source:
Methods
ondata(data)
Emit recorded data portion to let
OutgoingMessage
instance get recorder data.
Parameters:
Name | Type | Description |
---|---|---|
data |
Float32Array | pcm data portion |
- Source: