Play longer than 2 minutes audio with “Actions on

2019-08-19 03:16发布

问题:

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.

回答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.



回答2:

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



回答3:

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.