简体   繁体   English

Google Home Action 受到限制

[英]Google Home Action is being throttled

I have created a Google Home action that plays short audio clips in a sequence.我创建了一个按顺序播放短音频剪辑的 Google Home 操作。 Each clip about a couple of seconds long.每个剪辑大约几秒钟长。

Flow is as below.流程如下。

Play audio1.播放音频1。 MEDIA_STATUS intent is triggered at the end of audio1. MEDIA_STATUS 意图在 audio1 结束时触发。 Then play audio2 MEDIA_STATUS intent is triggered at the end of audio2.然后在audio2结束时触发播放audio2 MEDIA_STATUS意图。 Then play audio3 Then Play audio4 and so on Issue is that the execution pauses after every 4 or 5 audio clips are played.然后播放音频 3 然后播放音频 4 等等问题是每播放 4 或 5 个音频剪辑后执行暂停。 The pause varies between half a minute to even two minutes long.停顿从半分钟到两分钟不等。

  • Seeing this problem in Google Home Speaker.在 Google Home Speaker 中看到了这个问题。 Not seeing problem in Simulator (in browser)在模拟器中看不到问题(在浏览器中)

  • Based on the logs, there is no delay in the action between request received and response sent.根据日志,收到请求和发送响应之间的操作没有延迟。 The pause seems to be because agent is being called after a pause.暂停似乎是因为代理在暂停后被调用。

Probably the speaker takes a pause and does not call the backend for those durations?演讲者可能会暂停并且在这段时间内没有调用后端? What else could be causing this, and is there a workaround?还有什么可能导致这种情况,是否有解决方法?

I had similar problem with old assistant library.我对旧的助理图书馆也有类似的问题。 Which on are you using?你在用哪个? The new one is called assistant-conversation-nodejs.新的称为assistant-conversation-nodejs。 If you are using the old one then only thing you can do is to update, as the old one is not being updated.如果您使用的是旧版本,那么您唯一能做的就是更新,因为旧版本没有更新。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM