audio_chunk message
Audio transcribed: a client may drop it from its resend buffer
(receive_acknowledgments).
Delivery
On the WebSocket with messages_config.receive_acknowledgments; to your callback as live.audio_chunk with callback_config.receive_acknowledgments.
Fields
-
session_idstring requiredIdentifier of the session.
-
created_atstring requiredWhen the message was sent (ISO 8601, UTC).
-
type"audio_chunk" required -
acknowledgedboolean required -
erroranydefault:
null -
dataobject required2 fields
-
byte_rangearray of integer requiredFirst and last byte (excluded) of the acknowledged audio, from the start of the session.
at least 2 item(s)
-
time_rangearray of integer requiredThe same range in milliseconds.
at least 2 item(s)
-
Example
{ "session_id": "string", "created_at": "string", "type": "audio_chunk", "acknowledged": false, "error": null, "data": { "byte_range": [ 0 ], "time_range": [ 0 ] }}