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

Use without websocket #132

Closed zloidemon closed 6 years ago

zloidemon commented 6 years ago

Hello,

If I use alternative variant request actually infinity waits response but if use web socket it will work fine.


$ curl -X POST -v -T decoder-test.wav "http://localhost:8080/client/dynamic/recognize"
*   Trying ::1...
* Connected to localhost (::1) port 8080 (#0)
> POST /client/dynamic/recognize HTTP/1.1
> Host: localhost:8080
> User-Agent: curl/7.47.0
> Accept: */*
> Content-Length: 113324
> Expect: 100-continue
>
< HTTP/1.1 100 (Continue)
* We are completely uploaded and fine
`` 
zloidemon commented 6 years ago

Fixed after update to latest code from this repository.