在推送Bluemix的同时遇到一些麻烦
我通过php-curl发送的推送请求是:
POST https://stream.watsonplatform.net/speech-to-text/api/v1/recognize
具有以下参数
model:en-US_NarrowbandModel
Content-Type:audio/wav; rate:8000
Transfer-Encoding: chunked
timestamps:true
word_confidence:true
continuous:true
响应超时设置为2h(7200000毫秒)
我们的一些文件因为卷曲而暂停,没有任何明显的原因,起初我认为这与录制的持续时间有关,但是我已经有成功请求音频文件的日志〜200秒长和超时录音129秒.
我认为这可能是一个超时问题或音频文件上传中的一些错误,所以我开始调查会话但我不清楚如何会话过程工作,我不能在文档中对其进行排序.
以下文档(https://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud/speech-to-text/api/v1/)
如果我能得到一些反馈/建议我做错了什么,我会很高兴...
谢谢...