Open zxl777 opened 2 years ago
Looking forward to someone finally fixing this.
the problem is related as all the audios use the same websocket endpoint and that is not possible, you need modify the path to each audio use his own path... when you send multiple audios into the same path, brake the time logic of the audio flow... and that is the reason of the stop.
examples script only be prepared to run 1 audio at a time... if you need multiple audios, need modify the example
docker run --gpus=all -p 2700:2700 alphacep/kaldi-en-gpu
Running only one client, it completed successfully after 4 minutes.
cd /root/vosk-server/websocket && time ./test.py test2.wav
Running three clients at the same time, an error is reported after 1 minute.
cd /root/vosk-server/websocket && time ./test.py test2.wav
cd /root/vosk-server/websocket && time ./test.py test2.wav
cd /root/vosk-server/websocket && time ./test.py test2.wav