Skip to content
This repository was archived by the owner on Aug 16, 2023. It is now read-only.
This repository was archived by the owner on Aug 16, 2023. It is now read-only.

Media response MP3 live streaming specifications #20

@ecucurella

Description

@ecucurella

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:

  • MPEG Audio Layer 1/2
  • Stereo
  • 44100 Hz
  • 32 bits per sample
  • bit rate 128 Kbps

This stream is working well in:

  • Simulator
  • Google Mini
  • Google Nest Hub

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:

  • MPEG Audio Layer 1/2
  • Stereo
  • 44100 Hz
  • 32 bits per sample
  • bit rate 64 Kbps

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions