alphacep / vosk-server

WebSocket, gRPC and WebRTC speech recognition server based on Vosk and Kaldi libraries
Apache License 2.0
869 stars 241 forks source link

Eagi send eof msg before close ws connection #254

Open nltd101 opened 1 week ago

nltd101 commented 1 week ago

Context: Eagi send the last audio chunk, then eag close and stop connection immediately. At that time, the asr_server is processing this audio chunk and send the reponse but the ws have been already closed. Solution: Eagi should send the eof msg and wait the last msg before terminating the connection