【发布时间】:2018-07-01 10:29:29
【问题描述】:
对于通过流 API(Performing Streaming Speech Recognition on an Audio Stream) 使用 Google Cloud Speech API,
我们需要启用/白名单的端点/端口是什么?
被问到的原因是,我们在受限设备上运行它,并且只需要打开所需的出站端点/端口。
【问题讨论】:
对于通过流 API(Performing Streaming Speech Recognition on an Audio Stream) 使用 Google Cloud Speech API,
我们需要启用/白名单的端点/端口是什么?
被问到的原因是,我们在受限设备上运行它,并且只需要打开所需的出站端点/端口。
【问题讨论】:
您应该将*.googleapis.com 和accounts.google.com 列入白名单。这些都使用https协议。
语音的实际端点是https://speech.googleapis.com/v1/speech,但您还需要访问身份验证端点accounts.google.com、www.googleapis.com
和oauth2.googleapis.com。
【讨论】:
我已将以下 URL 列入白名单
https://texttospeech.googleapis.com/*
https://speech.googleapis.com/*
https://accounts.google.com/*
https://www.googleapis.com/*
https://oauth2.googleapis.com/*
https://cloud.google.com/*
【讨论】: