Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server应该填什么? #2

Closed
dxxxkit opened this issue Jun 4, 2019 · 1 comment
Closed

server应该填什么? #2

dxxxkit opened this issue Jun 4, 2019 · 1 comment

Comments

@dxxxkit
Copy link

dxxxkit commented Jun 4, 2019

没有明白server的地方应该填什么,请问可以解释一下吗

@ferrinweb
Copy link
Owner

因为讯飞语音相关接口都执行白名单策略,仅在白名单的 ip 发送来的请求能被处理。为了使你的终端设备能够使用讯飞的语音接口,你需要自己部署一个代理服务器,将代理服务器的 ip 配置到你的讯飞账号语音听写应用的白名单设置中。

这个代理服务器负责将终端的语音请求转发给讯飞语音接口。这里的 server 地址就是你的服务器代理的地址。源码中的 proxy 目录就是一个 node 代理服务器样例,可以直接部署或者供你参考。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants