Packages@robojs/ai
VoicePlaybackDelta
Interface: VoicePlaybackDelta
Delta describing audio playback data streamed to the caller.
Properties
| Property | Type | Description |
|---|---|---|
channels | number | Number of channels contained in the audio chunk. |
data | Buffer | Audio payload encoded as specified by VoicePlaybackDelta.encoding. |
encoding | "pcm16" | "opus" | Encoding of the playback data. |
isFinal | boolean | Indicates whether this is the final chunk for the response. |
sampleRate | number | Sample rate of the playback chunk. |
timestamp | number | Timestamp (ms) establishing playback ordering. |
