0

According to documentation, if you are using SSML for playing audio, you're limited to "120 seconds maximum duration".

Is there other way to start playing longer media (audio) with "Actions on Google" SDK on Google Home?

Example usage: Meditation sounds that can last longer than 2 minutes.

Valentyn Shybanov
  • 19,331
  • 7
  • 66
  • 59
  • 1
    To clarify - do you mean the Assistant SDK, which lets you embed the Assistant in other devices and applications, or Actions on Google, which lets you build your own Actions that work with the Assistant on Google Home? – Prisoner Oct 05 '17 at 22:23
  • @Prisoner thank you for correction. I really mean "Actions on Google" as it named on site. I'll edit the question – Valentyn Shybanov Oct 05 '17 at 22:38

3 Answers3

1

As responded by Leon Nicholls (Google Assistant Developer Programs Engineer), currently there is no way to play audio longer than 120 sec. However they are considering that in the future.

Valentyn Shybanov
  • 19,331
  • 7
  • 66
  • 59
1

Please check Media responses. You can play MP3 file longer than 2 minutes.

Wonil
  • 6,364
  • 2
  • 37
  • 55
0

I ran into the same issue. I created a Voice Metronome app which need to play for a long time. On the Google home, I was able to get it to play for 10 minutes. On the phone the limit was 2. I don't know if the new speaker devices have longer play times and I don't know how long they will allow this. Just an FYI.

SysCoder
  • 715
  • 7
  • 18
  • How did you achieved 10 minutes? combiding `` and ` – Valentyn Shybanov Oct 06 '17 at 09:06
  • strange... I tried to use same approach by splitting media into smaller chunks, but on Google Home I have only 2 minutes playing in total... may be they limit it on some inner-selected basis... – Valentyn Shybanov Oct 07 '17 at 23:52