alumae / kaldi-gstreamer-server

Real-time full-duplex speech recognition server, based on the Kaldi toolkit and the GStreamer framwork.
BSD 2-Clause "Simplified" License
1.07k stars 341 forks source link

Update worker.py #48

Closed fanskyer closed 8 years ago

fanskyer commented 8 years ago

I noticed that in my usage, a worker could hang forever after running the following statement, the timeout guard is not in effective, I did applied the changes and so far I didn't have this issue any more. self.decoder_pipeline.end_request() self.state = self.STATE_EOS_RECEIVED

alumae commented 8 years ago

Thanks!