You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using this python script to test microphone connecting to websocket server. https://github.com/alphacep/vosk-server/blob/master/websocket/test_microphone.py
There is blocking (as following) if server side doesn't return response at each data chunk.
while True:
data = await audio_queue.get()
await websocket.send(data)
print (await websocket.recv()) # blocking here waiting for message.
It happened when VAD is applied at server side and no response if data chunk is silent.
The text was updated successfully, but these errors were encountered:
It should not relate to memory. Please see this flow. Server drop the silent chunks, and client waits for response, and never send the next chunk. Thank you.
Using this python script to test microphone connecting to websocket server.
https://github.com/alphacep/vosk-server/blob/master/websocket/test_microphone.py
There is blocking (as following) if server side doesn't return response at each data chunk.
while True:
data = await audio_queue.get()
await websocket.send(data)
print (await websocket.recv()) # blocking here waiting for message.
It happened when VAD is applied at server side and no response if data chunk is silent.
The text was updated successfully, but these errors were encountered: