actions-on-google / dialogflow-conversation-components-nodejs

Rich Responses sample (using Dialogflow) in Node.js
Apache License 2.0
66 stars 36 forks source link

Media response MP3 live streaming specifications #20

Open ecucurella opened 4 years ago

ecucurella commented 4 years ago

Hi,

Documentation about media response has changed in the last weeks.

First it was https://developers.google.com/assistant/conversational/df-asdk/rich-responses#media_responses where you could read: "Audio for playback must be in a correctly formatted .mp3 file. Live streaming is not supported."

Now it is https://developers.google.com/assistant/conversational/prompts-media and you can now read: "Audio for playback must be in a correctly formatted MP3 file. MP3 files must be hosted on a web server and be publicly available through an HTTPS URL. Live streaming is only supported for the MP3 format."

Before and now we have made some actions for a radio broadcast station where we want to play the radio live streaming.

As an URL we use a MP3 url https://shoutcast.ccma.cat/ccma/catalunyaradioHD.mp3 with this specification:

This stream is working well in:

But it's not working in mobile phones !! For this reason our action wasn't approved for Production.

If we change the MP3 url file to this one https://shoutcast.ccma.cat/ccma/catalunyaradio.mp3 with this specification:

Then we can listen the radio also in mobile phones, but the quality is terrible only in mobile phones with Google Assistant application. You can listen in this video capture: https://drive.google.com/file/d/1eBoLRDx-n0QNHgHPWR4lzaZ1SyjWTGok/view?usp=sharing

So, Which is the correct specification for MP3 live streaming ? Why we can't hear stream in 128 Kbps in mobile phones ? Why is so an awful sound in 64 Kbps stream in mobile phones ?

Thanks in advance,

Eduard

NoRulesJustFeels commented 4 years ago

Thanks for reporting. We'll take a look.