【问题标题】:No SSML audio tag is rendered in Google Assistant main invocationGoogle Assistant 主调用中未呈现 SSML 音频标签
【发布时间】:2021-05-07 14:57:56
【问题描述】:

我有以下调用:

candidates:
  - first_simple:
      variants:
        - speech: >-
            <speak><audio
            url="https://example.com/welcome.mp3"></audio></speak>
          text: Welcome to my App!
    suggestions:
      - title: Explore
      - title: Guess

当我测试它时,我听不到 mp3 正在播放,只看到欢迎文字。

我在这里做错了什么?

【问题讨论】:

    标签: actions-on-google google-assistant


    【解决方案1】:

    事实证明,只能在 webhook 中使用 SSML。从 webhook 返回 speech 解决了这个问题。

    【讨论】:

      猜你喜欢
      • 2018-11-23
      • 2018-10-06
      • 2017-11-04
      • 2013-01-24
      • 1970-01-01
      • 2021-12-22
      • 1970-01-01
      • 2014-03-14
      • 2012-07-19
      相关资源
      最近更新 更多