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