通过流 API 使用 Google Cloud Speech API(对音频流执行流式语音识别 https://cloud.google.com/speech-to-text/docs/streaming-recognize#performing_streaming_speech_recognition_on_an_audio_stream),
我们需要启用/白名单哪些端点/端口?
被问到的原因是,我们在受限设备上运行它,并且只需要打开所需的出站端点/端口。
您应该将其列入白名单*.googleapis.com
and accounts.google.com
。这些都是使用https协议。
语音的实际端点是https://speech.googleapis.com/v1/speech https://speech.googleapis.com/v1/speech,但您还需要访问身份验证端点accounts.google.com
, www.googleapis.com
and oauth2.googleapis.com
.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)