-
Notifications
You must be signed in to change notification settings - Fork 131
Description
+OK log level [7]
2026-02-20 00:31:44.867072 91.20% [DEBUG] audio_streamer_glue.cpp:259 response: {"audioDataType":"raw","sampleRate":8000,"file":"/tmp/2fe7b8dd-71ae-4166-980a-001f1251145f_16.tmp.r8"}
2026-02-20 00:31:44.947014 91.20% [DEBUG] audio_streamer_glue.cpp:259 response: {"audioDataType":"raw","sampleRate":8000,"file":"/tmp/2fe7b8dd-71ae-4166-980a-001f1251145f_17.tmp.r8"}
2026-02-20 00:31:53.267127 91.33% [DEBUG] audio_streamer_glue.cpp:259 response: {"audioDataType":"raw","sampleRate":8000,"file":"/tmp/2fe7b8dd-71ae-4166-980a-001f1251145f_18.tmp.r8"}
2026-02-20 00:31:53.347011 91.33% [DEBUG] audio_streamer_glue.cpp:259 response: {"audioDataType":"raw","sampleRate":8000,"file":"/tmp/2fe7b8dd-71ae-4166-980a-001f1251145f_19.tmp.r8"}
this is the response i am getting when we use
if self.websocket.application_state == WebSocketState.CONNECTED:
audio_b64 = base64.b64encode(audio).decode("utf-8")
response = {
"type": "streamAudio",
"data": {
"audioDataType": "raw",
"sampleRate": self.sample_rate,
"audioData": audio_b64
}
}
await self.websocket.send_json(response)