LogoRobo.js
Packages@robojs/ai

VoicePlaybackDelta

Interface: VoicePlaybackDelta

Delta describing audio playback data streamed to the caller.

Properties

PropertyTypeDescription
channelsnumberNumber of channels contained in the audio chunk.
dataBufferAudio payload encoded as specified by VoicePlaybackDelta.encoding.
encoding"pcm16" | "opus"Encoding of the playback data.
isFinalbooleanIndicates whether this is the final chunk for the response.
sampleRatenumberSample rate of the playback chunk.
timestampnumberTimestamp (ms) establishing playback ordering.

On this page