What is the Endpoint/Port used for Google Cloud Speech API

﹥>﹥吖頭↗ 提交于 2019-12-11 02:34:43

问题


For using Google Cloud Speech API via the streaming API(Performing Streaming Speech Recognition on an Audio Stream),

what are the endpoints/ports we need to enable/whitelist?

The reason being asked is, we are running this on a restricted device, and need to open only the required outbound endpoints/ports.


回答1:


You should whitelist *.googleapis.com and accounts.google.com. These all are using https protocol.

The actual endpoint for speech is https://speech.googleapis.com/v1/speech, but you will also need to access authentication endpoints accounts.google.com, www.googleapis.com and oauth2.googleapis.com.



来源:https://stackoverflow.com/questions/51122469/what-is-the-endpoint-port-used-for-google-cloud-speech-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!