VoiceInputFrame
Audio frame delivered to the engine when streaming microphone input.
| Property | Type | Description |
|---|
channels | number | Number of audio channels encoded within the frame. |
data | Buffer | Raw PCM data for the frame. |
encoding | "pcm16" | Encoding used for data. |
isSpeechEnd? | boolean | Signals when the caller believes speech content has ended. |
length | number | Frame length in PCM samples. |
sampleRate | number | Sample rate applied to the frame. |
speakerId? | null | string | Optional speaker identifier for diarization-aware engines. |
timestamp | number | Timestamp in milliseconds when the frame was captured. |